Skip to content

doc: remove confusing signature in fs.md

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc, fs

Fixes: https://github.com/nodejs/node/issues/18305

This signature has been added in https://github.com/nodejs/node/pull/13424. It seems to be erroneous as it can make an inattentive reader (me at least) think that listener is not a previously defined listener for fs.watchFile(), but a new callback for fs.unwatchFile(). Sorry if I am wrong and doubly confusing.

Merge request reports

Loading