From d90e1671c181a0fc0b74b9e3185fce064ea34d8b Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Sun, 11 Aug 2019 14:41:23 +0800 Subject: [PATCH] Release 0.7.21 --- typings/utils.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/utils.d.ts b/typings/utils.d.ts index 732c10a9..7b3323b7 100644 --- a/typings/utils.d.ts +++ b/typings/utils.d.ts @@ -2,7 +2,7 @@ import { Mirror, throttleOptions, listenerHandler, hookResetter, blockClass } fr 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(func: (arg: T) => void, wait: number, options?: throttleOptions): () => void; +export declare function throttle(func: (arg: T) => void, wait: number, options?: throttleOptions): (arg: T) => void; export declare function hookSetter(target: T, key: string | number | symbol, d: PropertyDescriptor, isRevoked?: boolean): hookResetter; export declare function getWindowHeight(): number; export declare function getWindowWidth(): number;