Skip to content

Commit 393fb60

Browse files
committed
?
1 parent cec2081 commit 393fb60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/utils/lru.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class LRUMap<K, V> {
2828
if (this._cache.size >= this._maxSize) {
2929
// keys() returns an iterator in insertion order so keys().next() gives us the oldest key
3030
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
31-
const nextKey = this._cache.keys().next().value;
31+
const nextKey = this._cache.keys().next().value!;
3232
this._cache.delete(nextKey);
3333
}
3434
this._cache.set(key, value);

0 commit comments

Comments
 (0)