Type Alias OverloadParamsTuple<F>Internal

OverloadParamsTuple<F>: F extends {
        (...a: A0): any;
        (...a: A1): any;
        (...a: A2): any;
        (...a: A3): any;
        (...a: A4): any;
        (...a: A5): any;
        (...a: A6): any;
        (...a: A7): any;
        (...a: A8): any;
        (...a: A9): any;
    }
    ? [A0, A1, A2, A3, A4, A5, A6, A7, A8, A9]
    : never

Get overloaded Parameters types as 10-tuple. When the function has less than 10 overloaded signatures, the remaining param sets will be set to unknown.

Type Parameters

  • F