diff options
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/dts/lib.deno.ns.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index 66718ea67..e42fb855d 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -1491,7 +1491,7 @@ declare namespace Deno { * Throws TypeError if called with a hard link * * Requires `allow-read` permission. */ - export function readLinkSync(path: string): string; + export function readLinkSync(path: string | URL): string; /** Resolves to the full path destination of the named symbolic link. * @@ -1503,7 +1503,7 @@ declare namespace Deno { * Throws TypeError if called with a hard link * * Requires `allow-read` permission. */ - export function readLink(path: string): Promise<string>; + export function readLink(path: string | URL): Promise<string>; /** Resolves to a `Deno.FileInfo` for the specified `path`. If `path` is a * symlink, information for the symlink will be returned instead of what it |