Skip to content

Commit

Permalink
chore: typescript doesn’t like Timer aynmore
Browse files Browse the repository at this point in the history
  • Loading branch information
blakebyrnes committed Feb 1, 2024
1 parent ede1b95 commit 12fb228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commons/lib/Timer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Resolvable from './Resolvable';

export default class Timer {
public readonly [Symbol.toStringTag] = 'Timer';
public readonly timeout: NodeJS.Timer;
public readonly timeout: NodeJS.Timeout;

private readonly time = process.hrtime();
private timeoutMessage = 'Timeout waiting';
Expand Down Expand Up @@ -82,6 +82,6 @@ export default class Timer {
}

interface IRegistry {
timeout: NodeJS.Timer;
timeout: NodeJS.Timeout;
reject: (err: Error, noUnhandledRejections?: boolean) => any;
}

0 comments on commit 12fb228

Please sign in to comment.