diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-06-12 09:53:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 09:53:53 -0400 |
commit | e9424bf6b59b4e27c2691b70879cb1de874f98ce (patch) | |
tree | 3a11c12f74f1f2e86c38814620961a0532f38812 /cli/js/lib.deno.unstable.d.ts | |
parent | b34f4689430db67d98aa037193a118bc088e48d6 (diff) |
Revert "feat: add Deno.osName()" (#6261)
Deno.build.os provides the same functionality
This reverts commit 6ccf9037a6b36c81ea0e6ac12d0e2dbd793f6114.
Diffstat (limited to 'cli/js/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/js/lib.deno.unstable.d.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/js/lib.deno.unstable.d.ts b/cli/js/lib.deno.unstable.d.ts index f425dec56..dc50416fc 100644 --- a/cli/js/lib.deno.unstable.d.ts +++ b/cli/js/lib.deno.unstable.d.ts @@ -32,18 +32,6 @@ declare namespace Deno { * Requires `allow-read` and `allow-write` permissions. */ export function linkSync(oldpath: string, newpath: string): void; - /** - * Returns the os name. - * - * ```ts - * console.log(Deno.osName()); // e.g. "Linux" - * ``` - * - */ - - export function osName(): string; - - /** Creates `newpath` as a hard link to `oldpath`. /** **UNSTABLE**: This API needs a security review. * * Creates `newpath` as a hard link to `oldpath`. |