diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-05-27 00:02:16 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 10:02:16 -0400 |
commit | 228f9c207f8320908325a553c96e465da08fc617 (patch) | |
tree | 54f2aba9f577d713dcbed5882ae7ae9e53c7baaf /cli/js/web/timers.ts | |
parent | 24c36fd8625df6b276108109478a62b4661a0b3f (diff) |
Use ts-expect-error instead of ts-ignore. (#5869)
Diffstat (limited to 'cli/js/web/timers.ts')
-rw-r--r-- | cli/js/web/timers.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/web/timers.ts b/cli/js/web/timers.ts index 90b6bba94..87b23de06 100644 --- a/cli/js/web/timers.ts +++ b/cli/js/web/timers.ts @@ -239,7 +239,7 @@ export function setTimeout( ...args: Args ): number { checkBigInt(delay); - // @ts-ignore + // @ts-expect-error checkThis(this); return setTimer(cb, delay, args, false); } @@ -250,7 +250,7 @@ export function setInterval( ...args: Args ): number { checkBigInt(delay); - // @ts-ignore + // @ts-expect-error checkThis(this); return setTimer(cb, delay, args, true); } |