diff --git a/doc/api/fs.md b/doc/api/fs.md index 7e8266a90ec63a..1dc2c6841cc0a5 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -374,11 +374,13 @@ value is determined by the `options.encoding` passed to [`fs.readdir()`][] or added: v0.5.8 --> +* Extends {EventEmitter} + A successful call to [`fs.watch()`][] method will return a new `fs.FSWatcher` object. -All `fs.FSWatcher` objects are [`EventEmitter`][]'s that will emit a `'change'` -event whenever a specific watched file is modified. +All `fs.FSWatcher` objects emit a `'change'` event whenever a specific watched +file is modified. ### Event: 'change' +* Extends: {stream.Readable} + A successful call to `fs.createReadStream()` will return a new `fs.ReadStream` object. -All `fs.ReadStream` objects are [Readable Streams][]. - ### Event: 'close' -`WriteStream` is a [Writable Stream][]. +* Extends {stream.Writable} ### Event: 'close'