Interface SyntaxErrorConstructor

    interface SyntaxErrorConstructor {
        new SyntaxErrorConstructornew (message?: string): SyntaxError;
        new SyntaxErrorConstructornew (message?: string, options?: ErrorOptions): SyntaxError;
        new SyntaxErrorConstructornew (message?: string): Error;
        new SyntaxErrorConstructornew (message?: string, options?: ErrorOptions): Error;
        prototype: SyntaxError;
        (message?: string): SyntaxError;
        (message?: string, options?: ErrorOptions): SyntaxError;
        (message?: string): Error;
        (message?: string, options?: ErrorOptions): Error;
    }
    Hierarchy
    • Parameters

      • Optionalmessage: string

      Returns SyntaxError

    • Parameters

      Returns SyntaxError

    • Parameters

      • Optionalmessage: string

      Returns Error

    • Parameters

      Returns Error

    Constructors

    Properties

    Constructors

    Properties

    prototype: SyntaxError