Skip to content

Commit

Permalink
chore(cli): fix futime and futimeSync code examples (denoland#9953)
Browse files Browse the repository at this point in the history
  • Loading branch information
majidsajadi committed Apr 1, 2021
1 parent 6eace4d commit 2d7fdb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/dts/lib.deno.unstable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ declare namespace Deno {
* seconds (UNIX epoch time) or as `Date` objects.
*
* ```ts
* const file = Deno.openSync("file.txt", { create: true });
* const file = Deno.openSync("file.txt", { create: true, write: true });
* Deno.futimeSync(file.rid, 1556495550, new Date());
* ```
*/
Expand All @@ -1148,7 +1148,7 @@ declare namespace Deno {
* (UNIX epoch time) or as `Date` objects.
*
* ```ts
* const file = await Deno.open("file.txt", { create: true });
* const file = await Deno.open("file.txt", { create: true, write: true });
* await Deno.futime(file.rid, 1556495550, new Date());
* ```
*/
Expand Down

0 comments on commit 2d7fdb0

Please sign in to comment.