fs: correct param names in JSDoc comments
PR-URL: https://github.com/nodejs/node/pull/41237 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
23f1b22725
commit
1d34f0fefd
@ -2540,7 +2540,7 @@ function realpathSync(p, options) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the resolved pathname.
|
* Returns the resolved pathname.
|
||||||
* @param {string | Buffer | URL} p
|
* @param {string | Buffer | URL} path
|
||||||
* @param {string | { encoding?: string; }} [options]
|
* @param {string | { encoding?: string; }} [options]
|
||||||
* @returns {string | Buffer}
|
* @returns {string | Buffer}
|
||||||
*/
|
*/
|
||||||
@ -2694,7 +2694,7 @@ function realpath(p, options, callback) {
|
|||||||
/**
|
/**
|
||||||
* Asynchronously computes the canonical pathname by
|
* Asynchronously computes the canonical pathname by
|
||||||
* resolving `.`, `..` and symbolic links.
|
* resolving `.`, `..` and symbolic links.
|
||||||
* @param {string | Buffer | URL} p
|
* @param {string | Buffer | URL} path
|
||||||
* @param {string | { encoding?: string; }} [options]
|
* @param {string | { encoding?: string; }} [options]
|
||||||
* @param {(
|
* @param {(
|
||||||
* err?: Error,
|
* err?: Error,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user