diff options
Diffstat (limited to 'tests/016_double_await.ts')
-rw-r--r-- | tests/016_double_await.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/016_double_await.ts b/tests/016_double_await.ts index 12dfeeba4..9b4801567 100644 --- a/tests/016_double_await.ts +++ b/tests/016_double_await.ts @@ -1,6 +1,6 @@ // This is to test if Deno would die at 2nd await // See https://github.com/denoland/deno/issues/919 -(async () => { +(async (): Promise<void> => { const currDirInfo = await Deno.stat("."); const parentDirInfo = await Deno.stat(".."); console.log(currDirInfo.isDirectory()); |