Type Alias ConstructorParameters<T>

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

    Obtain the parameters of a constructor function type in a tuple

    Type Parameters

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