ConstructorParameters<T>

The utility type that gives a class constructor's parameter list as a tuple.

In more detail

Factories and dependency injection containers use it to check that they pass a class the right arguments. InstanceType gives the type of object that class creates.

Related terms

Taught in

References