Skip to content

Commit 777210f

Browse files
vsemozhetbytMayaLekova
authored andcommitted
doc: remove confusing signature in fs.md
PR-URL: nodejs#18310 Fixes: nodejs#18305 Refs: nodejs#13424 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 80c2e33 commit 777210f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/api/fs.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -2761,9 +2761,8 @@ added: v0.1.31
27612761
-->
27622762

27632763
* `filename` {string|Buffer}
2764-
* `listener` {Function|undefined} **Default:** `undefined`
2765-
* `eventType` {string}
2766-
* `filename` {string|Buffer}
2764+
* `listener` {Function} Optional, a listener previously attached using
2765+
`fs.watchFile()`
27672766

27682767
Stop watching for changes on `filename`. If `listener` is specified, only that
27692768
particular listener is removed. Otherwise, *all* listeners are removed,

0 commit comments

Comments
 (0)