summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorColin Ihrig <cjihrig@gmail.com>2022-10-26 16:37:48 -0400
committerGitHub <noreply@github.com>2022-10-26 16:37:48 -0400
commit37340e23865b17b1466a7e32997b0add96dd3806 (patch)
tree4e72b47e33d2cff14a8b62231a9fa0555e8492a0 /cli/dts/lib.deno.unstable.d.ts
parentf4f1f4f0b64030b744cfb43693af321ea8332bf4 (diff)
chore(unstable): rename Deno.getUid() and Deno.getGid() (#16432)
This commit renames `Deno.getUid()` to `Deno.uid()` and renames `Deno.getGid()` to `Deno.gid()`.
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index 2bcba88da..992e57185 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -359,7 +359,7 @@ declare namespace Deno {
* on Windows.
*
* ```ts
- * console.log(Deno.getUid());
+ * console.log(Deno.uid());
* ```
*
* Requires `allow-sys` permission.
@@ -367,7 +367,7 @@ declare namespace Deno {
* @tags allow-sys
* @category Runtime Environment
*/
- export function getUid(): number | null;
+ export function uid(): number | null;
/** **UNSTABLE**: New API, yet to be vetted.
*
@@ -375,7 +375,7 @@ declare namespace Deno {
* Windows.
*
* ```ts
- * console.log(Deno.getGid());
+ * console.log(Deno.gid());
* ```
*
* Requires `allow-sys` permission.
@@ -383,7 +383,7 @@ declare namespace Deno {
* @tags allow-sys
* @category Runtime Environment
*/
- export function getGid(): number | null;
+ export function gid(): number | null;
/** **UNSTABLE**: New API, yet to be vetted.
*