From 244f20d6eaaac0dad5d6a2024cda6b9a9f50a64e Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Sat, 23 Nov 2024 09:54:49 +0100 Subject: [PATCH] fixup --- lib/util/cache.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/util/cache.js b/lib/util/cache.js index 3e1ab006ac1..2ea4cb26b20 100644 --- a/lib/util/cache.js +++ b/lib/util/cache.js @@ -299,10 +299,6 @@ function assertCacheStore (store, name = 'CacheStore') { throw new TypeError(`${name} needs to have a \`${fn}()\` function`) } } - - if (typeof store.isFull !== 'undefined' && typeof store.isFull !== 'boolean') { - throw new TypeError(`${name} needs a isFull getter with type boolean or undefined, current type: ${typeof store.isFull}`) - } } /** * @param {unknown} methods