summaryrefslogtreecommitdiff
path: root/js/os.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-09-07 01:57:15 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-09-06 12:57:15 -0400
commit595b4daa77771458457e178b6b590a044cd41ad0 (patch)
treed8b19636e4795bcb11ba5c45982d32334da60115 /js/os.ts
parentca000392857b4c79a3609ddbc20073222498998b (diff)
Remove replacements hack in deno_typescript (#2864)
Diffstat (limited to 'js/os.ts')
-rw-r--r--js/os.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/os.ts b/js/os.ts
index b5392fc33..0e4d86917 100644
--- a/js/os.ts
+++ b/js/os.ts
@@ -5,6 +5,7 @@ import { sendSync } from "./dispatch_json.ts";
import { assert } from "./util.ts";
import * as util from "./util.ts";
import { window } from "./window.ts";
+import { OperatingSystem, Arch } from "./build.ts";
// builtin modules
import { _setGlobals } from "./deno.ts";
@@ -62,6 +63,8 @@ interface Start {
tsVersion: string;
noColor: boolean;
xevalDelim: string;
+ os: OperatingSystem;
+ arch: Arch;
}
// This function bootstraps an environment within Deno, it is shared both by