Skip to content

Commit 8b23f0f

Browse files
committed
doc: update the description of the return type for options.filter
1 parent 7c3dce0 commit 8b23f0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/fs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ changes:
10491049
that resolves to `true` or `false` **Default:** `undefined`.
10501050
* `src` {string} source path to copy.
10511051
* `dest` {string} destination path to copy to.
1052-
* Returns: {boolean|Promise}
1052+
* Returns: `Promise` or the type that is coercible to `boolean`.
10531053
* `force` {boolean} overwrite existing file or directory. The copy
10541054
operation will ignore errors if you set this to false and the destination
10551055
exists. Use the `errorOnExist` option to change this behavior.
@@ -2455,7 +2455,7 @@ changes:
24552455
that resolves to `true` or `false` **Default:** `undefined`.
24562456
* `src` {string} source path to copy.
24572457
* `dest` {string} destination path to copy to.
2458-
* Returns: {boolean|Promise}
2458+
* Returns: `Promise` or the type that is coercible to `boolean`.
24592459
* `force` {boolean} overwrite existing file or directory. The copy
24602460
operation will ignore errors if you set this to false and the destination
24612461
exists. Use the `errorOnExist` option to change this behavior.
@@ -5447,7 +5447,7 @@ changes:
54475447
all of its contents will be skipped as well. **Default:** `undefined`
54485448
* `src` {string} source path to copy.
54495449
* `dest` {string} destination path to copy to.
5450-
* Returns: {boolean}
5450+
* Returns: the type that is coercible to `boolean`.
54515451
* `force` {boolean} overwrite existing file or directory. The copy
54525452
operation will ignore errors if you set this to false and the destination
54535453
exists. Use the `errorOnExist` option to change this behavior.

0 commit comments

Comments
 (0)