Update plugins/catalog/src/apis/EntityPresentationApi/DefaultEntityPresentationApi.ts

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-03-10 13:56:54 +01:00
committed by GitHub
parent 37c6510488
commit 416b62b5aa
@@ -148,7 +148,7 @@ interface CacheEntry {
entity: Entity | undefined;
}
// Simply expory map for the data loader, which only expects a map that implements set, get, and delete and clear
// Simple expiry map for the data loader, which only expects a map that implements set, get, and delete and clear
export class ExpiryMap<K, V> extends Map<K, V> {
#ttlMs: number;
#timestamps: Map<K, number> = new Map();