diff options
author | Tomasz GaĆkowski <galkowski.t@gmail.com> | 2020-05-15 15:51:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 09:51:49 -0400 |
commit | 8440d765d51c0886f45843ad217a6a5dbabd5049 (patch) | |
tree | 78b5b071b0757da9ee49efd4fdba006ff0e04782 /cli/js/lib.deno.shared_globals.d.ts | |
parent | ce57a1824d3c89d19460efb315b273a43d18373e (diff) |
fix: setTimeout and friends have too strict types (#5412)
Diffstat (limited to 'cli/js/lib.deno.shared_globals.d.ts')
-rw-r--r-- | cli/js/lib.deno.shared_globals.d.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/js/lib.deno.shared_globals.d.ts b/cli/js/lib.deno.shared_globals.d.ts index 617a75fea..8f3160e5d 100644 --- a/cli/js/lib.deno.shared_globals.d.ts +++ b/cli/js/lib.deno.shared_globals.d.ts @@ -176,16 +176,16 @@ declare namespace WebAssembly { /** Sets a timer which executes a function once after the timer expires. */ declare function setTimeout( - cb: (...args: unknown[]) => void, + cb: (...args: any[]) => void, delay?: number, - ...args: unknown[] + ...args: any[] ): number; /** Repeatedly calls a function , with a fixed time delay between each call. */ declare function setInterval( - cb: (...args: unknown[]) => void, + cb: (...args: any[]) => void, delay?: number, - ...args: unknown[] + ...args: any[] ): number; declare function clearTimeout(id?: number): void; declare function clearInterval(id?: number): void; |