From 3f0cf9619fce71a8898c495501df4bdb0e07e735 Mon Sep 17 00:00:00 2001 From: Leo K Date: Thu, 5 Aug 2021 13:08:58 +0200 Subject: refactor(cli/tests): remove unnecessary void return types (#11577) --- cli/tests/034_onload/imported.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/034_onload/imported.ts') diff --git a/cli/tests/034_onload/imported.ts b/cli/tests/034_onload/imported.ts index 9e1411bea..3c7a0aae2 100644 --- a/cli/tests/034_onload/imported.ts +++ b/cli/tests/034_onload/imported.ts @@ -1,7 +1,7 @@ import { assert } from "../../../test_util/std/testing/asserts.ts"; import "./nest_imported.ts"; -const handler = (e: Event): void => { +const handler = (e: Event) => { assert(!e.cancelable); console.log(`got ${e.type} event in event handler (imported)`); }; -- cgit v1.2.3