@@ -1050,7 +1050,8 @@ changes:
1050
1050
that resolves to ` true ` or ` false ` **Default:** ` undefined ` .
1051
1051
* ` src` {string} source path to copy.
1052
1052
* ` dest` {string} destination path to copy to.
1053
- * Returns: {boolean|Promise}
1053
+ * Returns: {boolean|Promise} A value that is coercible to ` boolean` or
1054
+ a ` Promise ` that fulfils with such value.
1054
1055
* ` force` {boolean} overwrite existing file or directory. The copy
1055
1056
operation will ignore errors if you set this to false and the destination
1056
1057
exists. Use the ` errorOnExist` option to change this behavior.
@@ -2464,7 +2465,8 @@ changes:
2464
2465
that resolves to `true` or `false` **Default:** `undefined`.
2465
2466
* `src` {string} source path to copy.
2466
2467
* `dest` {string} destination path to copy to.
2467
- * Returns: {boolean|Promise}
2468
+ * Returns: {boolean|Promise} A value that is coercible to `boolean` or
2469
+ a `Promise` that fulfils with such value.
2468
2470
* `force` {boolean} overwrite existing file or directory. The copy
2469
2471
operation will ignore errors if you set this to false and the destination
2470
2472
exists. Use the `errorOnExist` option to change this behavior.
@@ -5498,7 +5500,8 @@ changes:
5498
5500
all of its contents will be skipped as well. **Default:** ` undefined `
5499
5501
* ` src` {string} source path to copy.
5500
5502
* ` dest` {string} destination path to copy to.
5501
- * Returns: {boolean}
5503
+ * Returns: {boolean} Any non-` Promise ` value that is coercible
5504
+ to ` boolean` .
5502
5505
* ` force` {boolean} overwrite existing file or directory. The copy
5503
5506
operation will ignore errors if you set this to false and the destination
5504
5507
exists. Use the ` errorOnExist` option to change this behavior.
0 commit comments