From ece56d9935614dcc755aeeefd3cd6c84b6827f77 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Thu, 3 Jun 2021 22:16:00 +0800 Subject: feat(runtime): support URL overloads for `Deno.symlink` and `Deno.symlinkSync` (#10664) --- cli/dts/lib.deno.ns.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/dts/lib.deno.ns.d.ts') 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; -- cgit v1.2.3