diff options
Diffstat (limited to 'cli/js/compiler.ts')
-rw-r--r-- | cli/js/compiler.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/js/compiler.ts b/cli/js/compiler.ts index c0f9c0a1e..79b9fdaf6 100644 --- a/cli/js/compiler.ts +++ b/cli/js/compiler.ts @@ -32,9 +32,10 @@ import { fromTypeScriptDiagnostic } from "./diagnostics_util.ts"; import * as os from "./os.ts"; import { assert } from "./util.ts"; import * as util from "./util.ts"; -import { window as self } from "./window.ts"; import { postMessage, workerClose, workerMain } from "./workers.ts"; +const self = globalThis; + interface CompilerRequestCompile { type: CompilerRequestType.Compile; rootNames: string[]; |