Skip to content

Commit 454a3d9

Browse files
vsemozhetbytMylesBorins
authored andcommitted
doc: remove confusing signature in fs.md
PR-URL: #18310 Fixes: #18305 Refs: #13424 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
1 parent d629be2 commit 454a3d9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/api/fs.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,9 +2457,8 @@ added: v0.1.31
24572457
-->
24582458

24592459
* `filename` {string|Buffer}
2460-
* `listener` {Function|undefined} **Default:** `undefined`
2461-
* `eventType` {string}
2462-
* `filename` {string|Buffer}
2460+
* `listener` {Function} Optional, a listener previously attached using
2461+
`fs.watchFile()`
24632462

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

0 commit comments

Comments
 (0)