Release 0.7.9

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 931f71e738
commit 281eca7fe2
4 changed files with 5 additions and 1 deletions

2
typings/utils.d.ts vendored
View File

@@ -1,4 +1,5 @@
import { Mirror, throttleOptions, listenerHandler, hookResetter } from './types';
import { INode } from 'rrweb-snapshot';
export declare function on(type: string, fn: EventListenerOrEventListenerObject, target?: Document | Window): listenerHandler;
export declare const mirror: Mirror;
export declare function throttle<T>(func: (arg: T) => void, wait: number, options?: throttleOptions): () => void;
@@ -6,3 +7,4 @@ export declare function hookSetter<T>(target: T, key: string | number | symbol,
export declare function getWindowHeight(): number;
export declare function getWindowWidth(): number;
export declare function isBlocked(node: Node | null): boolean;
export declare function isAncestorRemoved(target: INode): boolean;