summaryrefslogtreecommitdiff
path: root/js/os.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2018-09-01 07:45:26 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-09-01 10:45:26 -0400
commitf83aee02e66214853a008ebe4b5141405ac3a950 (patch)
tree4e95505f445d841e943da72e0db8364aaf92e9c9 /js/os.ts
parent89dddca3b4865fe4496f51680c70547e65c272eb (diff)
Bundle most types into globals.d.ts (#642)
Diffstat (limited to 'js/os.ts')
-rw-r--r--js/os.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/os.ts b/js/os.ts
index db389fd66..60c5f8b1f 100644
--- a/js/os.ts
+++ b/js/os.ts
@@ -128,8 +128,8 @@ export function readFileSync(filename: string): Uint8Array {
return new Uint8Array(dataArray!);
}
-function createEnv(_msg: fbs.EnvironRes): { [index:string]: string } {
- const env: { [index:string]: string } = {};
+function createEnv(_msg: fbs.EnvironRes): { [index: string]: string } {
+ const env: { [index: string]: string } = {};
for (let i = 0; i < _msg.mapLength(); i++) {
const item = _msg.map(i)!;
@@ -169,7 +169,7 @@ function setEnv(key: string, value: string): void {
* const newEnv = deno.env();
* console.log(env.TEST_VAR == newEnv.TEST_VAR);
*/
-export function env(): { [index:string]: string } {
+export function env(): { [index: string]: string } {
/* Ideally we could write
const res = send({
command: fbs.Command.ENV,