diff --git a/lib/core/tree.js b/lib/core/tree.js index e7b960cb2b3..6eed58aad69 100644 --- a/lib/core/tree.js +++ b/lib/core/tree.js @@ -86,7 +86,7 @@ class TstNode { /** * @param {Uint8Array} key - * @return {TstNode | null} + * @returns {TstNode | null} */ search (key) { const keylength = key.length diff --git a/lib/util/cache.js b/lib/util/cache.js index 10b0d8afcbc..53851df1d1b 100644 --- a/lib/util/cache.js +++ b/lib/util/cache.js @@ -32,7 +32,7 @@ function makeCacheKey (opts) { /** * @param {Record} - * @return {Record} + * @returns {Record} */ function normaliseHeaders (opts) { let headers