Skip to content

Commit 244f20d

Browse files
committed
fixup
1 parent 218a988 commit 244f20d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/util/cache.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,6 @@ function assertCacheStore (store, name = 'CacheStore') {
299299
throw new TypeError(`${name} needs to have a \`${fn}()\` function`)
300300
}
301301
}
302-
303-
if (typeof store.isFull !== 'undefined' && typeof store.isFull !== 'boolean') {
304-
throw new TypeError(`${name} needs a isFull getter with type boolean or undefined, current type: ${typeof store.isFull}`)
305-
}
306302
}
307303
/**
308304
* @param {unknown} methods

0 commit comments

Comments
 (0)