We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4133ee8 commit 8ca7294Copy full SHA for 8ca7294
packages/replay-internal/src/util/throttle.ts
@@ -10,7 +10,7 @@ export const SKIPPED = '__SKIPPED';
10
* or else the return value of the original function.
11
*/
12
// eslint-disable-next-line @typescript-eslint/no-explicit-any
13
-export function throttle<T extends (...rest: unknown[]) => any>(
+export function throttle<T extends (...rest: any[]) => any>(
14
fn: T,
15
maxCount: number,
16
durationSeconds: number,
0 commit comments