Skip to content

Commit

Permalink
fix(utilities/debounce): change types
Browse files Browse the repository at this point in the history
  • Loading branch information
MM25Zamanian committed Oct 25, 2024
1 parent 5ed410d commit 8098e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utilities/src/debounce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function debounce<Args extends unknown[], Return>(
};
}
else {
let timerId: NodeJS.Timeout;
let timerId: Timer;

if (typeof delay !== 'number') {
delay = 0;
Expand Down

0 comments on commit 8098e99

Please sign in to comment.