Skip to content

Commit cacf131

Browse files
committed
args for fn too
1 parent f86b009 commit cacf131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/helpers/helpers.extras.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function requestAnimFrame(cb: () => void): void;
1414
* @param {*} thisArg
1515
* @param {function} [updateFn]
1616
*/
17-
export function throttled(fn: () => void, thisArg: AnyObject, updateFn?: (AnyObject) => AnyObject): (...args: any[]) => void;
17+
export function throttled(fn: (...args: any[]) => void, thisArg: AnyObject, updateFn?: (AnyObject) => AnyObject): (...args: any[]) => void;
1818

1919
/**
2020
* Debounces calling `fn` for `delay` ms

0 commit comments

Comments
 (0)