From 08110bdcf382468bb011672c346bbffde194cdb8 Mon Sep 17 00:00:00 2001 From: Chen Yu Date: Wed, 6 May 2020 04:54:24 +0800 Subject: [PATCH] fix: fix the jsdoc of SetCache#has (#4739) The return type should be `boolean` instead of `number` --- .internal/SetCache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.internal/SetCache.js b/.internal/SetCache.js index 0c823aec8..20b1cbf0f 100644 --- a/.internal/SetCache.js +++ b/.internal/SetCache.js @@ -40,7 +40,7 @@ class SetCache { * * @memberOf SetCache * @param {*} value The value to search for. - * @returns {number} Returns `true` if `value` is found, else `false`. + * @returns {boolean} Returns `true` if `value` is found, else `false`. */ has(value) { return this.__data__.has(value)