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:
Rich Trott 2021-12-21 09:53:57 -08:00 committed by GitHub
parent 23f1b22725
commit 1d34f0fefd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2540,7 +2540,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}
*/
@ -2694,7 +2694,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,