diff options
Diffstat (limited to 'cli/js/lib.deno.ns.d.ts')
-rw-r--r-- | cli/js/lib.deno.ns.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 8eb2e1f4d..6950d9050 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -287,6 +287,14 @@ declare namespace Deno { */ export function chdir(directory: string): void; + /** + * **UNSTABLE**: New API. Maybe needs permissions. + * + * If `mask` is provided, sets the process umask. Always returns what the umask + * was before the call. + */ + export function umask(mask?: number): number; + /** **UNSTABLE**: might move to `Deno.symbols`. */ export const EOF: unique symbol; export type EOF = typeof EOF; |