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 = (
|
type OnTagHandler = (
|
||||||
tag: string,
|
tag: string,
|
||||||
html: string,
|
html: string,
|
||||||
options: {}
|
options: {
|
||||||
|
sourcePosition?: number;
|
||||||
|
position?: number;
|
||||||
|
isClosing?: boolean;
|
||||||
|
isWhite?: boolean;
|
||||||
|
}
|
||||||
) => string | void;
|
) => string | void;
|
||||||
|
|
||||||
type OnTagAttrHandler = (
|
type OnTagAttrHandler = (
|
||||||
|
|||||||
Reference in New Issue
Block a user