diff options
Diffstat (limited to 'cli/js/ops/os.ts')
-rw-r--r-- | cli/js/ops/os.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/js/ops/os.ts b/cli/js/ops/os.ts index 696c9f10b..50234ee4b 100644 --- a/cli/js/ops/os.ts +++ b/cli/js/ops/os.ts @@ -1,4 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. + import { sendSync } from "./dispatch_json.ts"; export function loadavg(): number[] { @@ -32,7 +33,7 @@ function deleteEnv(key: string): void { export const env = { get: getEnv, - toObject(): { [key: string]: string } { + toObject(): Record<string, string> { return sendSync("op_env"); }, set: setEnv, |