|
|
|
@ -6,7 +6,7 @@ var compileJSON: ((input: CompilerInput) => string) | null = (input) => { return |
|
|
|
|
var missingInputs: string[] = [] |
|
|
|
|
|
|
|
|
|
// 'DedicatedWorkerGlobalScope' object (the Worker global scope) is accessible through the self keyword
|
|
|
|
|
// 'dom' and 'webworker' library files can not be included together
|
|
|
|
|
// 'dom' and 'webworker' library files can't be included together https://github.com/microsoft/TypeScript/issues/20595
|
|
|
|
|
export default (self) => { |
|
|
|
|
self.addEventListener('message', (e) => { |
|
|
|
|
const data: MessageToWorker = e.data |
|
|
|
|