Skip to content

Commit 71c664f

Browse files
y-hsgwmarco-ippolito
authored andcommitted
doc: update position type to integer | null in fs
PR-URL: #57745 Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent b90c4ab commit 71c664f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/fs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ added:
721721
* `options` {Object}
722722
* `offset` {integer} **Default:** `0`
723723
* `length` {integer} **Default:** `buffer.byteLength - offset`
724-
* `position` {integer} **Default:** `null`
724+
* `position` {integer|null} **Default:** `null`
725725
* Returns: {Promise}
726726
727727
Write `buffer` to the file.
@@ -4840,7 +4840,7 @@ added:
48404840
* `options` {Object}
48414841
* `offset` {integer} **Default:** `0`
48424842
* `length` {integer} **Default:** `buffer.byteLength - offset`
4843-
* `position` {integer} **Default:** `null`
4843+
* `position` {integer|null} **Default:** `null`
48444844
* `callback` {Function}
48454845
* `err` {Error}
48464846
* `bytesWritten` {integer}
@@ -6319,7 +6319,7 @@ added:
63196319
* `options` {Object}
63206320
* `offset` {integer} **Default:** `0`
63216321
* `length` {integer} **Default:** `buffer.byteLength - offset`
6322-
* `position` {integer} **Default:** `null`
6322+
* `position` {integer|null} **Default:** `null`
63236323
* Returns: {number} The number of bytes written.
63246324
63256325
For detailed information, see the documentation of the asynchronous version of

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy