diff options
Diffstat (limited to 'cli/js/runtime_worker.ts')
-rw-r--r-- | cli/js/runtime_worker.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/runtime_worker.ts b/cli/js/runtime_worker.ts index ed735fd52..4e92663a1 100644 --- a/cli/js/runtime_worker.ts +++ b/cli/js/runtime_worker.ts @@ -33,7 +33,7 @@ import { setSignals } from "./signals.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; const encoder = new TextEncoder(); @@ -128,7 +128,7 @@ export function bootstrapWorkerRuntime( throw new Error("Worker runtime already bootstrapped"); } // Remove bootstrapping methods from global scope - // @ts-ignore + // @ts-expect-error globalThis.bootstrap = undefined; log("bootstrapWorkerRuntime"); hasBootstrapped = true; |