Type Alias Parameters<T>

    Parameters<T>: T extends ((...args: infer P) => any)
        ? P
        : never

    Obtain the parameters of a function type in a tuple

    Type Parameters

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