Skip to content

Commit 782840e

Browse files
author
Olivier Martin
committed
doc: add WHATWG file URLs in fs module
- Removing URL from the onchange event payload description - Fixing typo
1 parent e029600 commit 782840e

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

doc/api/fs.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,10 @@ The object itself emits these events:
213213
### Event: 'change'
214214
<!-- YAML
215215
added: v0.5.8
216-
changes:
217-
- version: v7.6.0
218-
pr-url: https://github.com/nodejs/node/pull/10739
219-
description: The `filename` parameter can be a WHATWG `URL` object using
220-
`file:` protocol. Support is currently still *experimental*.
221216
-->
222217

223218
* `eventType` {string} The type of fs change
224-
* `filename` {string|Buffer|URL} The filename that changed (if relevant/available)
219+
* `filename` {string|Buffer} The filename that changed (if relevant/available)
225220

226221
Emitted when something changes in a watched directory or file.
227222
See more details in [`fs.watch()`][].

0 commit comments

Comments
 (0)