From 454a3d98708e4c0f81bafdd3c31f59f7beb1d1bc 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 886814d4283af0..1dfcccd52b182e 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2457,9 +2457,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,