Interface TypeErrorConstructor

    interface TypeErrorConstructor {
        new TypeErrorConstructornew (message?: string): TypeError;
        new TypeErrorConstructornew (message?: string, options?: ErrorOptions): TypeError;
        new TypeErrorConstructornew (message?: string): Error;
        new TypeErrorConstructornew (message?: string, options?: ErrorOptions): Error;
        prototype: TypeError;
        (message?: string): TypeError;
        (message?: string, options?: ErrorOptions): TypeError;
        (message?: string): Error;
        (message?: string, options?: ErrorOptions): Error;
    }
    Hierarchy
    • Parameters

      • Optionalmessage: string

      Returns TypeError

    • Parameters

      Returns TypeError

    • Parameters

      • Optionalmessage: string

      Returns Error

    • Parameters

      Returns Error

    Constructors

    Properties

    Constructors

    Properties

    prototype: TypeError