Type Alias ConstructorParameters<T>

    ConstructorParameters: 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