Interface SyntaxErrorConstructor

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

    Constructors

    Properties

    Constructors

    Properties

    prototype: SyntaxError