diff --git a/lib/fs.js b/lib/fs.js index 773445d4a2c689..cde3a582727f80 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -1115,7 +1115,7 @@ function lazyLoadRimraf() { /** * Asynchronously removes a directory. * @param {string | Buffer | URL} path - * @param {{}} [options] + * @param {object} [options] * @param {(err?: Error) => any} callback * @returns {void} */ @@ -1149,7 +1149,7 @@ function rmdir(path, options, callback) { /** * Synchronously removes a directory. * @param {string | Buffer | URL} path - * @param {{}} [options] + * @param {object} [options] * @returns {void} */ function rmdirSync(path, options) { diff --git a/lib/internal/quic/quic.js b/lib/internal/quic/quic.js index 6ad476eed5216f..459906d270dab6 100644 --- a/lib/internal/quic/quic.js +++ b/lib/internal/quic/quic.js @@ -1004,7 +1004,7 @@ class QuicSession { #onstream = undefined; /** @type {OnDatagramCallback|undefined} */ #ondatagram = undefined; - /** @type {{}} */ + /** @type {object|undefined} */ #sessionticket = undefined; static { @@ -1050,7 +1050,7 @@ class QuicSession { /** * Get the session ticket associated with this session, if any. - * @type {any} + * @type {object|undefined} */ get sessionticket() { QuicSession.#assertIsQuicSession(this); @@ -1846,7 +1846,7 @@ class QuicEndpoint { /** * Initiates a session with a remote endpoint. - * @param {{}} address + * @param {object} address * @param {SessionOptions} [options] * @returns {QuicSession} */ diff --git a/lib/internal/webstreams/adapters.js b/lib/internal/webstreams/adapters.js index df374736d25231..7650831da837f7 100644 --- a/lib/internal/webstreams/adapters.js +++ b/lib/internal/webstreams/adapters.js @@ -893,8 +893,7 @@ function newStreamDuplexFromReadableWritablePair(pair = kEmptyObject, options = /** * @typedef {import('./queuingstrategies').QueuingStrategy} QueuingStrategy - * @typedef {{}} StreamBase - * @param {StreamBase} streamBase + * @param {object} streamBase * @param {QueuingStrategy} strategy * @returns {WritableStream} */ diff --git a/test/common/heap.js b/test/common/heap.js index e7969b7c0345e6..df7e2447b87c93 100644 --- a/test/common/heap.js +++ b/test/common/heap.js @@ -327,7 +327,7 @@ function getHeapSnapshotOptionTests() { } /** - * Similar to @see {validateByRetainingPathFromNodes} but creates the snapshot from scratch. + * Similar to {@link validateByRetainingPathFromNodes} but creates the snapshot from scratch. * @returns {object[]} */ function validateByRetainingPath(...args) {