From 7799b797d149dff98fa11c065667e453e6038b9d Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Mon, 31 Aug 2020 18:10:28 +0900 Subject: chore: remove unreachable code to pass linter (#7270) --- cli/tests/unit/console_test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/tests') diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts index 60d2143c0..3d1ace6bd 100644 --- a/cli/tests/unit/console_test.ts +++ b/cli/tests/unit/console_test.ts @@ -720,9 +720,8 @@ unitTest(function consoleTestWithCustomInspector(): void { unitTest(function consoleTestWithCustomInspectorError(): void { class A { - [customInspect](): string { + [customInspect](): never { throw new Error("BOOM"); - return "b"; } } -- cgit v1.2.3