summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-06-03 22:16:00 +0800
committerGitHub <noreply@github.com>2021-06-03 16:16:00 +0200
commitece56d9935614dcc755aeeefd3cd6c84b6827f77 (patch)
treeee7b24726d270387aeb75b945611079e55fad777 /cli/dts/lib.deno.ns.d.ts
parentdc69b03339cc75af1daa70700d1283fa33c22c3b (diff)
feat(runtime): support URL overloads for `Deno.symlink` and `Deno.symlinkSync` (#10664)
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts
index 34f8c2ad5..3db07ba65 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -2379,8 +2379,8 @@ declare namespace Deno {
*
* Requires `allow-write` permission. */
export function symlinkSync(
- oldpath: string,
- newpath: string,
+ oldpath: string | URL,
+ newpath: string | URL,
options?: SymlinkOptions,
): void;
@@ -2396,8 +2396,8 @@ declare namespace Deno {
*
* Requires `allow-write` permission. */
export function symlink(
- oldpath: string,
- newpath: string,
+ oldpath: string | URL,
+ newpath: string | URL,
options?: SymlinkOptions,
): Promise<void>;