Browse Source

Fixes lint error

main
Eric Amodio 3 years ago
parent
commit
b6352078ec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system/decorators/timeout.ts

+ 1
- 1
src/system/decorators/timeout.ts View File

@ -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);
}),
]);
};

Loading…
Cancel
Save