Skip to content

Commit 52effa5

Browse files
aduh95mscdex
andauthored
fixup! fs: make open and close stream override optional when unused
Co-authored-by: mscdex <[email protected]>
1 parent f35b0ab commit 52effa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@ destroyed, like most `Readable` streams. Set the `emitClose` option to
20132013
By providing the `fs` option, it is possible to override the corresponding `fs`
20142014
implementations for `open`, `read`, and `close`. When providing the `fs` option,
20152015
an override for `read` is required. If no `fd` is provided, an override for
2016-
`open` is also requried. If `autoClose` is `true`, an override for `close` is
2016+
`open` is also required. If `autoClose` is `true`, an override for `close` is
20172017
also required.
20182018
20192019
```mjs

0 commit comments

Comments
 (0)