From 2a594bd3b2403fbbd26a0191ac8c289c365451d0 Mon Sep 17 00:00:00 2001 From: ecyrbe Date: Mon, 2 Mar 2020 01:05:04 +0100 Subject: feat(std/node): add os.tmpdir() implementation (#4213) --- cli/js/lib.deno.ns.d.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'cli/js/lib.deno.ns.d.ts') diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 0bd176a9f..b2e67b288 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -116,6 +116,7 @@ declare namespace Deno { | "picture" | "public" | "template" + | "tmp" | "video"; // TODO(ry) markdown in jsdoc broken https://deno.land/typedoc/index.html#dir @@ -131,7 +132,7 @@ declare namespace Deno { * * Argument values: `"home"`, `"cache"`, `"config"`, `"executable"`, `"data"`, * `"data_local"`, `"audio"`, `"desktop"`, `"document"`, `"download"`, - * `"font"`, `"picture"`, `"public"`, `"template"`, `"video"` + * `"font"`, `"picture"`, `"public"`, `"template"`, `"tmp"`, `"video"` * * `"cache"` * @@ -237,6 +238,14 @@ declare namespace Deno { * | macOS | – | – | * | Windows | `{FOLDERID_Templates}` | C:\Users\Alice\AppData\Roaming\Microsoft\Windows\Templates | * + * `"tmp"` + * + * |Platform | Value | Example | + * | ------- | ---------------------- | ---------------------------------------------------------- | + * | Linux | `TMPDIR` | /tmp | + * | macOS | `TMPDIR` | /tmp | + * | Windows | `{TMP}` | C:\Users\Alice\AppData\Local\Temp | + * * `"video"` * * |Platform | Value | Example | -- cgit v1.2.3