diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/dts/lib.deno.ns.d.ts | 16 | ||||
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 17 |
2 files changed, 16 insertions, 17 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index eea3c7947..1d72e1438 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -345,6 +345,22 @@ declare namespace Deno { export const noColor: boolean; /** + * Returns the release version of the Operating System. + * + * ```ts + * console.log(Deno.osRelease()); + * ``` + * + * Requires `allow-env` permission. + * Under consideration to possibly move to Deno.build or Deno.versions and if + * it should depend sys-info, which may not be desirable. + * + * @tags allow-env + * @category Runtime Environment + */ + export function osRelease(): string; + + /** * Options which define the permissions within a test or worker context. * * `"inherit"` ensures that all permissions of the parent process will be diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 416176564..ba6d03c7e 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -228,23 +228,6 @@ declare namespace Deno { /** **UNSTABLE**: New API, yet to be vetted. * - * Returns the release version of the Operating System. - * - * ```ts - * console.log(Deno.osRelease()); - * ``` - * - * Requires `allow-sys` permission. - * Under consideration to possibly move to Deno.build or Deno.versions and if - * it should depend sys-info, which may not be desirable. - * - * @tags allow-sys - * @category Runtime Environment - */ - export function osRelease(): string; - - /** **UNSTABLE**: New API, yet to be vetted. - * * Displays the total amount of free and used physical and swap memory in the * system, as well as the buffers and caches used by the kernel. * |