Skip to content

ConstructorArgument

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

Infers the the first argument of a class

Type parameters

Parameter
T

Source

precompiles/src/ConstructorArgument.ts:4


Generated using typedoc-plugin-markdown and TypeDoc