diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-27 18:00:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 18:00:19 -0400 |
commit | f2d5e6f58ac6e1f58091edf74053aaa695a26b8e (patch) | |
tree | 805e67fee084a2fe76975611d050f825f5869eff /cli/js/lib.deno.ns.d.ts | |
parent | 95a08857f10c4eb1233c8a3f07845a2000b87d36 (diff) |
loadavg and osRelease made unstable (#4938)
Diffstat (limited to 'cli/js/lib.deno.ns.d.ts')
-rw-r--r-- | cli/js/lib.deno.ns.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index ffa560a73..1834794a8 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -97,6 +97,9 @@ declare namespace Deno { * console.log(Deno.loadavg()); // e.g. [ 0.71, 0.44, 0.44 ] * * Requires `allow-env` permission. + * + * **Unstable** There are questions around which permission this needs. And + * maybe should be renamed (loadAverage?) */ export function loadavg(): number[]; @@ -113,6 +116,9 @@ declare namespace Deno { * console.log(Deno.osRelease()); * * Requires `allow-env` permission. + * + * **Unstable** new API maybe move to Deno.build or Deno.versions? Depends on + * sys-info, which we don't necessarally want to depend on. */ export function osRelease(): string; |