fix: typings onTag options
This commit is contained in:
7
typings/xss.d.ts
vendored
7
typings/xss.d.ts
vendored
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user