diff options
Diffstat (limited to 'tests/018_async_catch.ts')
-rw-r--r-- | tests/018_async_catch.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/018_async_catch.ts b/tests/018_async_catch.ts index f59c22ee2..0d034d798 100644 --- a/tests/018_async_catch.ts +++ b/tests/018_async_catch.ts @@ -11,4 +11,4 @@ async function call(): Promise<void> { } console.log("after try-catch"); } -call().catch(() => console.log("outer catch")); +call().catch((): void => console.log("outer catch")); |