move maskInputValue to rrweb-snapshot (#83)
More info: https://github.com/rrweb-io/rrweb/pull/602#discussion_r660434998
This commit is contained in:
9
typings/utils.d.ts
vendored
9
typings/utils.d.ts
vendored
@@ -1,3 +1,10 @@
|
||||
import { INode } from './types';
|
||||
import { INode, MaskInputFn, MaskInputOptions } from './types';
|
||||
export declare function isElement(n: Node | INode): n is Element;
|
||||
export declare function isShadowRoot(n: Node): n is ShadowRoot;
|
||||
export declare function maskInputValue({ maskInputOptions, tagName, type, value, maskInputFn, }: {
|
||||
maskInputOptions: MaskInputOptions;
|
||||
tagName: string;
|
||||
type: string | number | boolean | null;
|
||||
value: string | null;
|
||||
maskInputFn?: MaskInputFn;
|
||||
}): string;
|
||||
|
||||
Reference in New Issue
Block a user