From 034e2cc02829c9244b32232074c7a48af827a2fb Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sun, 10 Mar 2019 04:30:38 +1100 Subject: Migrate from tslint to eslint for linting (#1905) --- tests/async_error.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/async_error.ts') 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 => { console.log("before error"); throw Error("error"); }; -- cgit v1.2.3