PokéRogue
    Preparing search index...

    Type Alias HasMultipleCallSignatures<T>

    HasMultipleCallSignatures: T extends {
        (...arguments_: A): unknown;
        (...arguments_: B): unknown;
    }
        ? B extends A ? A extends B ? false : true : true
        : false

    Test if the given function has multiple call signatures.

    Needed to handle the case of a single call signature with properties.

    Multiple call signatures cannot currently be supported due to a TypeScript limitation.

    Type Parameters

    • T extends (...arguments_: any[]) => unknown