* fix: style not applied to polyfillled shadow dom * test: add integration test for shadydom and @lwc/synthetic-shadow * improve the implementation of function isNativeShadowDom * apply lele0108's review suggestion
This commit is contained in:
1
packages/rrweb-snapshot/typings/utils.d.ts
vendored
1
packages/rrweb-snapshot/typings/utils.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
import { MaskInputFn, MaskInputOptions, IMirror, serializedNodeWithId } from './types';
|
||||
export declare function isElement(n: Node): n is Element;
|
||||
export declare function isShadowRoot(n: Node): n is ShadowRoot;
|
||||
export declare function isNativeShadowDom(shadowRoot: ShadowRoot): boolean;
|
||||
export declare class Mirror implements IMirror<Node> {
|
||||
private idNodeMap;
|
||||
private nodeMetaMap;
|
||||
|
||||
Reference in New Issue
Block a user