Expose the TypeScript object inside the ts worker

This commit is contained in:
Orta 2021-11-15 22:37:42 +00:00
parent 5bb2a27249
commit 79f4a4cf75

View file

@ -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;