1
0
Эх сурвалжийг харах

Expose the TypeScript object inside the ts worker

Orta 3 жил өмнө
parent
commit
79f4a4cf75

+ 3 - 0
src/typescript/tsWorker.ts

@@ -494,3 +494,6 @@ export function create(ctx: worker.IWorkerContext, createData: ICreateData): Typ
 
 	return new TSWorkerClass(ctx, createData);
 }
+
+/** Allows for clients to have access to the same version of TypeScript that the worker uses */
+export const typescript = ts;