From 3fe6bc1b82a10bed1d907b749b1cc200659df612 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 2 Jun 2020 14:24:44 +1000 Subject: fix: Better use of @ts-expect-error (#6038) --- cli/js/testing.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/testing.ts') diff --git a/cli/js/testing.ts b/cli/js/testing.ts index fc32fd604..ffe978888 100644 --- a/cli/js/testing.ts +++ b/cli/js/testing.ts @@ -336,8 +336,8 @@ async function runTests({ const originalConsole = globalThis.console; if (disableLog) { - // @ts-expect-error - globalThis.console = disabledConsole; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (globalThis as any).console = disabledConsole; } let endMsg: TestMessage["end"]; -- cgit v1.2.3