Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
core/sync: better timeout types
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-sokolov committed Mar 2, 2021
1 parent dcc8a31 commit 1eab977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/sync/throttled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export function makeThrottled<Keys extends number | string | symbol>(
const schedules = makeKindIdStore<
Keys,
{
debounceTimer?: NodeJS.Timeout;
maxTimer?: NodeJS.Timeout;
debounceTimer?: ReturnType<typeof setTimeout>;
maxTimer?: ReturnType<typeof setTimeout>;
}
>({});

Expand Down

0 comments on commit 1eab977

Please sign in to comment.