From f83aee02e66214853a008ebe4b5141405ac3a950 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sat, 1 Sep 2018 07:45:26 -0700 Subject: Bundle most types into globals.d.ts (#642) --- js/os.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/os.ts') 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, -- cgit v1.2.3