From 4041a7b8576047021c2eec711f013c6f01e471e0 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 28 Apr 2020 00:06:03 +0100 Subject: BREAKING: Remove Deno.symbols namespace (#4936) --- cli/js/tests/unit_test_runner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/tests/unit_test_runner.ts') diff --git a/cli/js/tests/unit_test_runner.ts b/cli/js/tests/unit_test_runner.ts index 7a246cd39..12d9101b8 100755 --- a/cli/js/tests/unit_test_runner.ts +++ b/cli/js/tests/unit_test_runner.ts @@ -11,8 +11,8 @@ import { reportToConn, } from "./test_util.ts"; -// eslint-disable-next-line @typescript-eslint/no-explicit-any -const internalObj = (Deno as any)[Deno.symbols.internal]; +// @ts-ignore +const internalObj = Deno[Deno.internal]; // eslint-disable-next-line @typescript-eslint/no-explicit-any const reportToConsole = internalObj.reportToConsole as (message: any) => void; // eslint-disable-next-line @typescript-eslint/no-explicit-any -- cgit v1.2.3