diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-06-03 22:16:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 16:16:00 +0200 |
commit | ece56d9935614dcc755aeeefd3cd6c84b6827f77 (patch) | |
tree | ee7b24726d270387aeb75b945611079e55fad777 /cli/dts/lib.deno.ns.d.ts | |
parent | dc69b03339cc75af1daa70700d1283fa33c22c3b (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.ts | 8 |
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>; |