ConstructorArgument
ConstructorArgument<
T
>:T
extends (…args
) =>any
?P
[0
] :never
Infers the the first argument of a class
Type Parameters
• T
ConstructorArgument<
T
>:T
extends (…args
) =>any
?P
[0
] :never
Infers the the first argument of a class
• T