Update compiler-worker.ts

pull/7/head
Aniket 5 years ago
parent db0a8172ce
commit e7b1ea88a6
  1. 2
      remix-solidity/src/compiler/compiler-worker.ts

@ -6,7 +6,7 @@ var compileJSON: ((input: CompilerInput) => string) | null = (input) => { return
var missingInputs: string[] = [] var missingInputs: string[] = []
// 'DedicatedWorkerGlobalScope' object (the Worker global scope) is accessible through the self keyword // '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) => { export default (self) => {
self.addEventListener('message', (e) => { self.addEventListener('message', (e) => {
const data: MessageToWorker = e.data const data: MessageToWorker = e.data

Loading…
Cancel
Save