From 228f9c207f8320908325a553c96e465da08fc617 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Wed, 27 May 2020 00:02:16 +1000 Subject: Use ts-expect-error instead of ts-ignore. (#5869) --- cli/js/runtime_main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/runtime_main.ts') diff --git a/cli/js/runtime_main.ts b/cli/js/runtime_main.ts index 3e81fc680..97205d205 100644 --- a/cli/js/runtime_main.ts +++ b/cli/js/runtime_main.ts @@ -30,7 +30,7 @@ import { log, immutableDefine } from "./util.ts"; // TODO: factor out `Deno` global assignment to separate function // Add internal object to Deno object. // This is not exposed as part of the Deno types. -// @ts-ignore +// @ts-expect-error denoNs[internalSymbol] = internalObject; let windowIsClosing = false; @@ -71,7 +71,7 @@ export function bootstrapMainRuntime(): void { throw new Error("Worker runtime already bootstrapped"); } // Remove bootstrapping methods from global scope - // @ts-ignore + // @ts-expect-error globalThis.bootstrap = undefined; log("bootstrapMainRuntime"); hasBootstrapped = true; -- cgit v1.2.3