Skip to content

Commit 22157ef

Browse files
author
exoego
committed
doc: use number since there are no rounding nor validation
1 parent 019b628 commit 22157ef

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

doc/api/fs.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2064,8 +2064,8 @@ changes:
20642064
-->
20652065

20662066
* `fd` {integer}
2067-
* `atime` {integer|string|Date}
2068-
* `mtime` {integer|string|Date}
2067+
* `atime` {number|string|Date}
2068+
* `mtime` {number|string|Date}
20692069
* `callback` {Function}
20702070
* `err` {Error}
20712071

@@ -2086,8 +2086,8 @@ changes:
20862086
-->
20872087

20882088
* `fd` {integer}
2089-
* `atime` {integer|string|Date}
2090-
* `mtime` {integer|string|Date}
2089+
* `atime` {number|string|Date}
2090+
* `mtime` {number|string|Date}
20912091

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

@@ -3429,8 +3429,8 @@ changes:
34293429
-->
34303430

34313431
* `path` {string|Buffer|URL}
3432-
* `atime` {integer|string|Date}
3433-
* `mtime` {integer|string|Date}
3432+
* `atime` {number|string|Date}
3433+
* `mtime` {number|string|Date}
34343434
* `callback` {Function}
34353435
* `err` {Error}
34363436

@@ -3462,8 +3462,8 @@ changes:
34623462
-->
34633463

34643464
* `path` {string|Buffer|URL}
3465-
* `atime` {integer|string|Date}
3466-
* `mtime` {integer|string|Date}
3465+
* `atime` {number|string|Date}
3466+
* `mtime` {number|string|Date}
34673467

34683468
Returns `undefined`.
34693469

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

4236-
* `atime` {integer|string|Date}
4237-
* `mtime` {integer|string|Date}
4236+
* `atime` {number|string|Date}
4237+
* `mtime` {number|string|Date}
42384238
* Returns: {Promise}
42394239

42404240
Change the file system timestamps of the object referenced by the `FileHandle`
@@ -4839,8 +4839,8 @@ added: v10.0.0
48394839
-->
48404840

48414841
* `path` {string|Buffer|URL}
4842-
* `atime` {integer|string|Date}
4843-
* `mtime` {integer|string|Date}
4842+
* `atime` {number|string|Date}
4843+
* `mtime` {number|string|Date}
48444844
* Returns: {Promise}
48454845

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

0 commit comments

Comments
 (0)