diff --git a/types/sax/index.d.ts b/types/sax/index.d.ts index 4c556d8aab..40d17caa4d 100644 --- a/types/sax/index.d.ts +++ b/types/sax/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for sax-js 1.x // Project: https://github.com/isaacs/sax-js // Definitions by: Asana +// Evert Pot // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -44,7 +45,7 @@ export interface Tag extends BaseTag { export declare function parser(strict: boolean, opt: SAXOptions): SAXParser; export declare class SAXParser { - constructor(strict: boolean, opt: SAXOptions); + constructor(strict: boolean, opt?: SAXOptions); // Methods end(): void;