diff --git a/types/sanitize-html/index.d.ts b/types/sanitize-html/index.d.ts index 8ec8e05901..88959fa0c6 100644 --- a/types/sanitize-html/index.d.ts +++ b/types/sanitize-html/index.d.ts @@ -7,6 +7,8 @@ // Will Gibson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +import {Options} from "htmlparser2"; + export = sanitize; declare function sanitize(dirty: string, options?: sanitize.IOptions): string; @@ -52,7 +54,7 @@ declare namespace sanitize { nonTextTags?: string[]; selfClosing?: string[]; transformTags?: { [tagName: string]: string | Transformer }; - parser: {}; + parser: Options; }