소스 검색

Update tsWorker.ts

Orta Therox 3 년 전
부모
커밋
892c164a7b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;