diff options
Diffstat (limited to 'cli/tests/error_023_stack_async.ts')
-rw-r--r-- | cli/tests/error_023_stack_async.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/error_023_stack_async.ts b/cli/tests/error_023_stack_async.ts index 621933576..99e676e26 100644 --- a/cli/tests/error_023_stack_async.ts +++ b/cli/tests/error_023_stack_async.ts @@ -1,4 +1,4 @@ -const p = (async (): Promise<void> => { +const p = (async () => { await Promise.resolve().then((): never => { throw new Error("async"); }); |