diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-06-01 02:05:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 20:05:57 +0200 |
commit | 330cd6b7ea46524783e5d1a8654153b459931cd7 (patch) | |
tree | 3abb2ba14722fabe2e021bb60af93b7bb14d64aa /cli/dts/lib.deno.unstable.d.ts | |
parent | ea2c7ac5566e6973cdd68aaa8aa3dcb8c51a5865 (diff) |
feat(cli): support URL overloads for `Deno.utime` and `Deno.utimeSync` (#10792)
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 0e5453554..f6e8aefd2 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -766,7 +766,7 @@ declare namespace Deno { * * Requires `allow-write` permission. */ export function utimeSync( - path: string, + path: string | URL, atime: number | Date, mtime: number | Date, ): void; @@ -783,7 +783,7 @@ declare namespace Deno { * * Requires `allow-write` permission. */ export function utime( - path: string, + path: string | URL, atime: number | Date, mtime: number | Date, ): Promise<void>; |