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 @@ -1668,7 +1668,7 @@ added:
1668
1668
should stop.
1669
1669
* Returns: {AsyncIterator} of objects with the properties:
1670
1670
* `eventType` {string} The type of change
1671
- * `filename` {string|Buffer} The name of the file changed.
1671
+ * `filename` {string|Buffer|null } The name of the file changed.
1672
1672
1673
1673
Returns an async iterator that watches for changes on `filename`, where `filename`
1674
1674
is either a file or a directory.
@@ -4492,7 +4492,7 @@ changes:
4492
4492
* `signal` {AbortSignal} allows closing the watcher with an AbortSignal.
4493
4493
* `listener` {Function|undefined} **Default:** `undefined`
4494
4494
* `eventType` {string}
4495
- * `filename` {string|Buffer}
4495
+ * `filename` {string|Buffer|null }
4496
4496
* Returns: {fs.FSWatcher}
4497
4497
4498
4498
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