refactor: replace deprecated LRU cache methods (#8266)

This commit is contained in:
Antoine Cormouls
2022-11-01 21:33:14 +01:00
committed by GitHub
parent 963613ec3f
commit e90a5183ec

View File

@@ -18,11 +18,11 @@ export class LRUCache {
} }
del(key) { del(key) {
this.cache.del(key); this.cache.delete(key);
} }
clear() { clear() {
this.cache.reset(); this.cache.clear();
} }
} }