diff options
Diffstat (limited to 'tests/async_error.ts')
-rw-r--r-- | tests/async_error.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/async_error.ts b/tests/async_error.ts index 7ce25d0cb..81c983a50 100644 --- a/tests/async_error.ts +++ b/tests/async_error.ts @@ -1,5 +1,5 @@ console.log("hello"); -const foo = async () => { +const foo = async (): Promise<never> => { console.log("before error"); throw Error("error"); }; |