diff --git a/types/htmlparser2/index.d.ts b/types/htmlparser2/index.d.ts index c10dea047e..f01f1ab7ce 100644 --- a/types/htmlparser2/index.d.ts +++ b/types/htmlparser2/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: James Roland Cabresos // Linus Unnebäck // Johan Davidsson +// GP // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.2 /// /// @@ -61,7 +63,7 @@ export declare class WritableStream extends Writable { } export declare class Parser { - constructor(handler: DomHandler, options?: ParserOptions); + constructor(handler: Partial, options?: ParserOptions); /*** * Parses a chunk of data and calls the corresponding callbacks.