Skip to content

Commit

Permalink
doc: use number since there are no rounding nor validation
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Sep 28, 2019
1 parent 019b628 commit 22157ef
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2064,8 +2064,8 @@ changes:
-->

* `fd` {integer}
* `atime` {integer|string|Date}
* `mtime` {integer|string|Date}
* `atime` {number|string|Date}
* `mtime` {number|string|Date}
* `callback` {Function}
* `err` {Error}

Expand All @@ -2086,8 +2086,8 @@ changes:
-->

* `fd` {integer}
* `atime` {integer|string|Date}
* `mtime` {integer|string|Date}
* `atime` {number|string|Date}
* `mtime` {number|string|Date}

Synchronous version of [`fs.futimes()`][]. Returns `undefined`.

Expand Down Expand Up @@ -3429,8 +3429,8 @@ changes:
-->

* `path` {string|Buffer|URL}
* `atime` {integer|string|Date}
* `mtime` {integer|string|Date}
* `atime` {number|string|Date}
* `mtime` {number|string|Date}
* `callback` {Function}
* `err` {Error}

Expand Down Expand Up @@ -3462,8 +3462,8 @@ changes:
-->

* `path` {string|Buffer|URL}
* `atime` {integer|string|Date}
* `mtime` {integer|string|Date}
* `atime` {number|string|Date}
* `mtime` {number|string|Date}

Returns `undefined`.

Expand Down Expand Up @@ -4233,8 +4233,8 @@ The last three bytes are null bytes (`'\0'`), to compensate the over-truncation.
added: v10.0.0
-->

* `atime` {integer|string|Date}
* `mtime` {integer|string|Date}
* `atime` {number|string|Date}
* `mtime` {number|string|Date}
* Returns: {Promise}

Change the file system timestamps of the object referenced by the `FileHandle`
Expand Down Expand Up @@ -4839,8 +4839,8 @@ added: v10.0.0
-->

* `path` {string|Buffer|URL}
* `atime` {integer|string|Date}
* `mtime` {integer|string|Date}
* `atime` {number|string|Date}
* `mtime` {number|string|Date}
* Returns: {Promise}

Change the file system timestamps of the object referenced by `path` then
Expand Down

0 comments on commit 22157ef

Please sign in to comment.