From b6352078ec92f0a6851d3cc5fb092686ecf14b6f Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 2 Jul 2021 01:14:12 -0400 Subject: [PATCH] Fixes lint error --- src/system/decorators/timeout.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/decorators/timeout.ts b/src/system/decorators/timeout.ts index 6f7f173..89a21d5 100644 --- a/src/system/decorators/timeout.ts +++ b/src/system/decorators/timeout.ts @@ -49,7 +49,7 @@ export function timeout(timeoutOrTimeoutFromLastArg: number | boolean, defaultTi const id = setTimeout(() => { clearTimeout(id); reject(new CancellationError(result, `Timed out after ${timeout} ms`)); - }, timeout!); + }, timeout); }), ]); };