From 892c164a7b912bc98ab180170d5e0b8db60c0bf3 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Tue, 16 Nov 2021 00:30:33 +0000 Subject: [PATCH] Update tsWorker.ts --- src/typescript/tsWorker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/typescript/tsWorker.ts b/src/typescript/tsWorker.ts index b4b7c1c1..14f86b79 100644 --- a/src/typescript/tsWorker.ts +++ b/src/typescript/tsWorker.ts @@ -496,4 +496,4 @@ export function create(ctx: worker.IWorkerContext, createData: ICreateData): Typ } /** Allows for clients to have access to the same version of TypeScript that the worker uses */ -export const typescript = ts; +globalThis.ts = ts;