Type alias ConstructorParameters<T>

ConstructorParameters<T>: T extends (abstract new (...args) => any)
    ? P
    : never

Obtain the parameters of a constructor function type in a tuple

Type Parameters

  • T extends (abstract new (...args) => any)