Skip to content

ConstructorArgument

ConstructorArgument<T>: T extends (…args) => any ? P[0] : never

Infers the the first argument of a class

Type Parameters

T

Defined in

ConstructorArgument.ts:4