diff options
| author | 2022-03-10 07:55:40 -0800 | |
|---|---|---|
| committer | 2022-03-10 09:55:40 -0600 | |
| commit | 79fc320480b2a638ef707079a624519bd54f1550 (patch) | |
| tree | 2c8bafcfd7e80fa8faa8c1c1aba0156e79de66b3 /packages/webapi/src | |
| parent | 52d812b31ae18327029f22a6c92ae31c8318bb81 (diff) | |
| download | astro-79fc320480b2a638ef707079a624519bd54f1550.tar.gz astro-79fc320480b2a638ef707079a624519bd54f1550.tar.zst astro-79fc320480b2a638ef707079a624519bd54f1550.zip | |
update deps: esbuild, typescript (#2750)
* update dep: typescript
* update dep: esbuild
* update types
* update types
* update dep: es-module-lexer
* update tests
Diffstat (limited to 'packages/webapi/src')
| -rw-r--r-- | packages/webapi/src/lib/Timeout.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/webapi/src/lib/Timeout.ts b/packages/webapi/src/lib/Timeout.ts index 4a25e4e73..f2e81c35e 100644 --- a/packages/webapi/src/lib/Timeout.ts +++ b/packages/webapi/src/lib/Timeout.ts @@ -12,7 +12,7 @@ export function setTimeout< >(callback: TFunc, delay = 0, ...args: TArgs): number { const func = _.__function_bind(callback, globalThis) const tick = ++INTERNAL.tick - const timeout = nodeSetTimeout(func, delay, ...args) + const timeout = nodeSetTimeout(func as any, delay, ...args) INTERNAL.pool.set(tick, timeout) |
