diff options
Diffstat (limited to 'cli/dts')
-rw-r--r-- | cli/dts/lib.deno.ns.d.ts | 4 | ||||
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index 518b81edd..f9baddb06 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -3762,8 +3762,8 @@ declare namespace Deno { | "systemMemoryInfo" | "networkInterfaces" | "osRelease" - | "getUid" - | "getGid"; + | "uid" + | "gid"; } /** The permission descriptor for the `allow-ffi` permissions, which controls 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. * |