diff --git a/lib/fs.js b/lib/fs.js index 729d8aeae8cc70..9ec725ffebdf58 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -2538,7 +2538,7 @@ function realpathSync(p, options) { /** * Returns the resolved pathname. - * @param {string | Buffer | URL} p + * @param {string | Buffer | URL} path * @param {string | { encoding?: string; }} [options] * @returns {string | Buffer} */ @@ -2692,7 +2692,7 @@ function realpath(p, options, callback) { /** * Asynchronously computes the canonical pathname by * resolving `.`, `..` and symbolic links. - * @param {string | Buffer | URL} p + * @param {string | Buffer | URL} path * @param {string | { encoding?: string; }} [options] * @param {( * err?: Error,