diff --git a/typings/xss.d.ts b/typings/xss.d.ts index 8fac941..0cb9cef 100644 --- a/typings/xss.d.ts +++ b/typings/xss.d.ts @@ -97,7 +97,12 @@ declare module "xss" { type OnTagHandler = ( tag: string, html: string, - options: {} + options: { + sourcePosition?: number; + position?: number; + isClosing?: boolean; + isWhite?: boolean; + } ) => string | void; type OnTagAttrHandler = (