We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89bde2 commit 718a3abCopy full SHA for 718a3ab
2 files changed
doc/api/fs.md
@@ -2477,6 +2477,7 @@ changes:
2477
* `verbatimSymlinks` {boolean} When `true`, path resolution for symlinks will
2478
be skipped. **Default:** `false`
2479
* `callback` {Function}
2480
+ * `err` {Error}
2481
2482
Asynchronously copies the entire directory structure from `src` to `dest`,
2483
including subdirectories and files.
lib/fs.js
@@ -3025,7 +3025,7 @@ function copyFileSync(src, dest, mode) {
3025
* @param {string | URL} src
3026
* @param {string | URL} dest
3027
* @param {object} [options]
3028
- * @param {() => any} callback
+ * @param {(err?: Error) => any} callback
3029
* @returns {void}
3030
*/
3031
function cp(src, dest, options, callback) {
0 commit comments