summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno_runtime.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/lib.deno_runtime.d.ts')
-rw-r--r--cli/js/lib.deno_runtime.d.ts14
1 files changed, 11 insertions, 3 deletions
diff --git a/cli/js/lib.deno_runtime.d.ts b/cli/js/lib.deno_runtime.d.ts
index e667d497d..d955c09bf 100644
--- a/cli/js/lib.deno_runtime.d.ts
+++ b/cli/js/lib.deno_runtime.d.ts
@@ -59,6 +59,7 @@ declare namespace Deno {
| "home"
| "cache"
| "config"
+ | "executable"
| "data"
| "data_local"
| "audio"
@@ -77,9 +78,9 @@ declare namespace Deno {
* Returns null if there is no applicable directory or if any other error
* occurs.
*
- * Argument values: "home", "cache", "config", "data", "data_local", "audio",
- * "desktop", "document", "download", "font", "picture", "public", "template",
- * "video"
+ * Argument values: "home", "cache", "config", "executable", "data",
+ * "data_local", "audio", "desktop", "document", "download", "font", "picture",
+ * "public", "template", "video"
*
* "cache"
* |Platform | Value | Example |
@@ -95,6 +96,13 @@ declare namespace Deno {
* | macOS | `$HOME`/Library/Preferences | /Users/Alice/Library/Preferences |
* | Windows | `{FOLDERID_RoamingAppData}` | C:\Users\Alice\AppData\Roaming |
*
+ * "executable"
+ * |Platform | Value | Example |
+ * | ------- | --------------------------------------------------------------- | -----------------------|
+ * | Linux | `XDG_BIN_HOME` or `$XDG_DATA_HOME`/../bin or `$HOME`/.local/bin | /home/alice/.local/bin |
+ * | macOS | - | - |
+ * | Windows | - | - |
+ *
* "data"
* |Platform | Value | Example |
* | ------- | ---------------------------------------- | ---------------------------------------- |