summaryrefslogtreecommitdiff
path: root/cli/js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-04-27 18:00:19 -0400
committerGitHub <noreply@github.com>2020-04-27 18:00:19 -0400
commitf2d5e6f58ac6e1f58091edf74053aaa695a26b8e (patch)
tree805e67fee084a2fe76975611d050f825f5869eff /cli/js
parent95a08857f10c4eb1233c8a3f07845a2000b87d36 (diff)
loadavg and osRelease made unstable (#4938)
Diffstat (limited to 'cli/js')
-rw-r--r--cli/js/lib.deno.ns.d.ts6
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;