summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorfutsuuu <105504350+futsuuu@users.noreply.github.com>2024-05-14 22:06:21 +0900
committerGitHub <noreply@github.com>2024-05-14 15:06:21 +0200
commitc0a600786e32fa5e61ca40ef184772241446e33d (patch)
treef7d17db21d8718a34e2057e538f1e7b5a6574563 /cli/tsc/dts/lib.deno.ns.d.ts
parent6084cf60ba0786a82aae60ad179187f17bb7dc14 (diff)
fix: Add missing `"junction"` type for `SymlinkOptions.types` (#23756)
Junction symlink support is added in #22762, but `SymlinkOptions` and its documents are not updated.
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts
index c940a6e61..09c669c28 100644
--- a/cli/tsc/dts/lib.deno.ns.d.ts
+++ b/cli/tsc/dts/lib.deno.ns.d.ts
@@ -5344,16 +5344,16 @@ declare namespace Deno {
*
* @category File System */
export interface SymlinkOptions {
- /** If the symbolic link should be either a file or directory. This option
- * only applies to Windows and is ignored on other operating systems. */
- type: "file" | "dir";
+ /** Specify the symbolic link type as file, directory or NTFS junction. This
+ * option only applies to Windows and is ignored on other operating systems. */
+ type: "file" | "dir" | "junction";
}
/**
* Creates `newpath` as a symbolic link to `oldpath`.
*
- * The `options.type` parameter can be set to `"file"` or `"dir"`. This
- * argument is only available on Windows and ignored on other platforms.
+ * The `options.type` parameter can be set to `"file"`, `"dir"` or `"junction"`.
+ * This argument is only available on Windows and ignored on other platforms.
*
* ```ts
* await Deno.symlink("old/name", "new/name");
@@ -5373,8 +5373,8 @@ declare namespace Deno {
/**
* Creates `newpath` as a symbolic link to `oldpath`.
*
- * The `options.type` parameter can be set to `"file"` or `"dir"`. This
- * argument is only available on Windows and ignored on other platforms.
+ * The `options.type` parameter can be set to `"file"`, `"dir"` or `"junction"`.
+ * This argument is only available on Windows and ignored on other platforms.
*
* ```ts
* Deno.symlinkSync("old/name", "new/name");