✏️ Code CompletionTS TypeScript Hard⚡+35 XP
Infer in Conditional
Complete the conditional type to extract the return type.
✏️ Fill in the blank
type ReturnType<T> = T extends (...args: any[]) => ___ R ? R : never;Complete the conditional type to extract the return type.
type ReturnType<T> = T extends (...args: any[]) => ___ R ? R : never;