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.
err
1 parent 062a0c6 commit d89bde2Copy full SHA for d89bde2
2 files changed
doc/api/fs.md
@@ -2388,6 +2388,7 @@ changes:
2388
* `dest` {string|Buffer|URL} destination filename of the copy operation
2389
* `mode` {integer} modifiers for copy operation. **Default:** `0`.
2390
* `callback` {Function}
2391
+ * `err` {Error}
2392
2393
Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it
2394
already exists. No arguments other than a possible exception are given to the
lib/fs.js
@@ -2979,7 +2979,7 @@ function mkdtempSync(prefix, options) {
2979
* @param {string | Buffer | URL} src
2980
* @param {string | Buffer | URL} dest
2981
* @param {number} [mode]
2982
- * @param {() => any} callback
+ * @param {(err?: Error) => any} callback
2983
* @returns {void}
2984
*/
2985
function copyFile(src, dest, mode, callback) {
0 commit comments