File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1651,7 +1651,7 @@ added:
1651
1651
should stop.
1652
1652
* Returns: {AsyncIterator} of objects with the properties:
1653
1653
* `eventType` {string} The type of change
1654
- * `filename` {string|Buffer} The name of the file changed.
1654
+ * `filename` {string|Buffer|null } The name of the file changed.
1655
1655
1656
1656
Returns an async iterator that watches for changes on `filename`, where `filename`
1657
1657
is either a file or a directory.
@@ -4428,7 +4428,7 @@ changes:
4428
4428
* `signal` {AbortSignal} allows closing the watcher with an AbortSignal.
4429
4429
* `listener` {Function|undefined} **Default:** `undefined`
4430
4430
* `eventType` {string}
4431
- * `filename` {string|Buffer}
4431
+ * `filename` {string|Buffer|null }
4432
4432
* Returns: {fs.FSWatcher}
4433
4433
4434
4434
Watch for changes on `filename`, where `filename` is either a file or a
You can’t perform that action at this time.
0 commit comments