From 90125566bbaed8b5c6e55ca8dbc432e3433fb73c Mon Sep 17 00:00:00 2001 From: Maximilien Mellen Date: Wed, 19 Feb 2020 21:36:18 +0100 Subject: Enable TS strict mode by default (#3899) Fixes #3324 Co-authored-by: Kitson Kelly --- cli/js/internals_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/internals_test.ts') diff --git a/cli/js/internals_test.ts b/cli/js/internals_test.ts index 055995fdf..47aea09e7 100644 --- a/cli/js/internals_test.ts +++ b/cli/js/internals_test.ts @@ -4,7 +4,7 @@ import { test, assert } from "./test_util.ts"; test(function internalsExists(): void { const { stringifyArgs - // eslint-disable-next-line @typescript-eslint/no-explicit-any - } = Deno[Deno.symbols.internal] as any; + // @ts-ignore TypeScript (as of 3.7) does not support indexing namespaces by symbol + } = Deno[Deno.symbols.internal]; assert(!!stringifyArgs); }); -- cgit v1.2.3