update typings

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent d43d9e7edb
commit 65237a5ee9
3 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ export declare class ShadowDomManager {
private scrollCb;
private bypassOptions;
private mirror;
private restorePatches;
constructor(options: {
mutationCb: mutationCallBack;
scrollCb: scrollCallback;
@@ -14,5 +15,7 @@ export declare class ShadowDomManager {
mirror: Mirror;
});
addShadowRoot(shadowRoot: ShadowRoot, doc: Document): void;
observeAttachShadow(iframeElement: HTMLIFrameElement): void;
reset(): void;
}
export {};

View File

@@ -59,6 +59,7 @@ export declare class Replayer {
private applyMutation;
private applyScroll;
private applyInput;
private applyText;
private legacy_resolveMissingNode;
private moveAndHover;
private drawMouseTail;

View File

@@ -494,4 +494,5 @@ declare global {
}
}
export declare type IWindow = Window & typeof globalThis;
export declare type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
export {};