diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-25 00:48:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-25 00:48:43 +0200 |
commit | 201185f9fb05c2cc1ab5304abeb04191f9337ab6 (patch) | |
tree | dfe0edc996ece089c507f1342a9802c5d44a1c88 /cli/dts/lib.deno.unstable.d.ts | |
parent | fd3b961126150960104a0d456ceac14b12f90c8b (diff) |
fix(cli/dts): sleepSync doesn't return a Promise (#10358)
Per its name its synchronous for the current thread
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 8d4c1f87d..908c433bf 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1124,7 +1124,7 @@ declare namespace Deno { * Deno.sleepSync(10); * ``` */ - export function sleepSync(millis: number): Promise<void>; + export function sleepSync(millis: number): void; export interface Metrics extends OpMetrics { ops: Record<string, OpMetrics>; |