From 9870b538104564592e9da365df779873103d42b5 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Tue, 23 Jan 2018 05:05:31 +0200 Subject: [PATCH] doc: remove confusing signature in fs.md PR-URL: https://github.com/nodejs/node/pull/18310 Fixes: https://github.com/nodejs/node/issues/18305 Refs: https://github.com/nodejs/node/pull/13424 Reviewed-By: Joyee Cheung Reviewed-By: Gireesh Punathil Reviewed-By: Richard Lau --- doc/api/fs.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index f2430b0da09a78..795428af290730 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2761,9 +2761,8 @@ added: v0.1.31 --> * `filename` {string|Buffer} -* `listener` {Function|undefined} **Default:** `undefined` - * `eventType` {string} - * `filename` {string|Buffer} +* `listener` {Function} Optional, a listener previously attached using + `fs.watchFile()` Stop watching for changes on `filename`. If `listener` is specified, only that particular listener is removed. Otherwise, *all* listeners are removed,