Type alias ConstructorArgs<C>

ConstructorArgs<C>: C extends (new (...args: infer A) => any) ? A : never

Type of the constructor arguments of the provided constructor type.

Type Parameters

  • C