Explorar el Código

Update tsWorker.ts

Orta Therox hace 3 años
padre
commit
892c164a7b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;