From 57e91d52dc165991ea8dab2a62d1bb194aed7663 Mon Sep 17 00:00:00 2001 From: Tiffany Le-Nguyen Date: Wed, 5 Sep 2018 15:44:20 -0400 Subject: [PATCH] Make parser optional --- types/sanitize-html/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/sanitize-html/index.d.ts b/types/sanitize-html/index.d.ts index 88959fa0c6..f90ec12f65 100644 --- a/types/sanitize-html/index.d.ts +++ b/types/sanitize-html/index.d.ts @@ -5,6 +5,7 @@ // BehindTheMath // Rinze de Laat // Will Gibson +// A penguin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import {Options} from "htmlparser2"; @@ -54,7 +55,7 @@ declare namespace sanitize { nonTextTags?: string[]; selfClosing?: string[]; transformTags?: { [tagName: string]: string | Transformer }; - parser: Options; + parser?: Options; }