UNPKG

@tanstack/router-core

Version:

Modern and scalable routing for React applications

7 lines (6 loc) 245 B
export type LRUCache<TKey, TValue> = { get: (key: TKey) => TValue | undefined; set: (key: TKey, value: TValue) => void; clear: () => void; }; export declare function createLRUCache<TKey, TValue>(max: number): LRUCache<TKey, TValue>;