Quellcode durchsuchen

Update tsWorker.ts

Orta Therox vor 3 Jahren
Ursprung
Commit
892c164a7b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/typescript/tsWorker.ts

+ 1 - 1
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;