Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ell1ott committed Feb 23, 2024
1 parent d3829c6 commit d97d403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class ApiHandler {

// eslint-disable-next-line @typescript-eslint/no-explicit-any
debounce(func: any, timeout = 300) {
let timer: number;
let timer: NodeJS.Timeout;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return (...args: any) => {
clearTimeout(timer);
Expand Down

0 comments on commit d97d403

Please sign in to comment.