Skip to content

Commit 9fc4c6d

Browse files
committed
fix: types
1 parent f122d9b commit 9fc4c6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/node-http-handler/src/timing.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
* For test spies.
44
*/
55
export const timing = {
6-
setTimeout: (cb, timeout) => setTimeout(cb, timeout),
7-
clearTimeout: (id) => clearTimeout(id),
6+
setTimeout: (cb: () => void, ms?: number) => setTimeout(cb, ms),
7+
clearTimeout: (timeoutId: NodeJS.Timeout | string | number | undefined) => clearTimeout(timeoutId),
88
};

0 commit comments

Comments
 (0)