From 71b06b8af2d2c01934fb65cc9919cc4c56ae2c69 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Fri, 27 Jun 2025 13:26:22 +0200 Subject: [PATCH] chore: jsdoc use @returns everywhere --- lib/core/tree.js | 2 +- lib/util/cache.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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