Skip to content

Commit

Permalink
fix: 型を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
atzzCokeK committed Sep 12, 2024
1 parent 91e1c01 commit 6966078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/smarthr-ui/src/libs/debounce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const debounce = <T extends (...args: any[]) => void>(
func: T,
wait: number,
): ((...args: Parameters<T>) => void) => {
let timeoutId: NodeJS.Timeout | null = null
let timeoutId: NodeJS.Timeout | string | number | null = null

return function (...args: Parameters<T>) {
if (timeoutId !== null) {
Expand Down

0 comments on commit 6966078

Please sign in to comment.