diff options
Diffstat (limited to 'tests/error_001.ts')
-rw-r--r-- | tests/error_001.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/error_001.ts b/tests/error_001.ts index ab6e17a52..f06f80cb4 100644 --- a/tests/error_001.ts +++ b/tests/error_001.ts @@ -1,8 +1,8 @@ -function foo() { +function foo(): never { throw Error("bad"); } -function bar() { +function bar(): void { foo(); } |