diff --git a/sanitize-html/sanitize-html.d.ts b/sanitize-html/sanitize-html.d.ts index a2f27430fe..7f640315f8 100644 --- a/sanitize-html/sanitize-html.d.ts +++ b/sanitize-html/sanitize-html.d.ts @@ -35,10 +35,10 @@ declare namespace sanitize { interface IOptions { - allowedAttributes?: { [index: string]: string[] }; - allowedClasses?: { [index: string]: string[] }; - allowedSchemes?: string[]; - allowedTags?: string[]; + allowedAttributes?: { [index: string]: string[] } | boolean; + allowedClasses?: { [index: string]: string[] } | boolean; + allowedSchemes?: string[] | boolean; + allowedTags?: string[] | boolean; exclusiveFilter?: (frame: IFrame) => boolean; nonTextTags?: string[]; selfClosing?: string[];