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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user