/opt/canhelp/node_modules/next/dist/client/components/segment-cache-impl
NameSizeModeActions
cache-key.d.ts5090644editdlrm
cache-key.js8770644editdlrm
cache-key.js.map14070644editdlrm
cache.d.ts92220644editdlrm
cache.js757180644editdlrm
cache.js.map1189340644editdlrm
lru.d.ts3490644editdlrm
lru.js40920644editdlrm
lru.js.map61180644editdlrm
navigation.d.ts16140644editdlrm
navigation.js178550644editdlrm
navigation.js.map286640644editdlrm
prefetch.d.ts16380644editdlrm
prefetch.js11990644editdlrm
prefetch.js.map28400644editdlrm
scheduler.d.ts55640644editdlrm
scheduler.js469350644editdlrm
scheduler.js.map736450644editdlrm
tuple-map.d.ts8580644editdlrm
tuple-map.js55220644editdlrm
tuple-map.js.map85030644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/client/components/segment-cache-impl/tuple-map.d.ts (858B)
export type Prefix = T extends [infer First, ...infer Rest] ? [] | [First] | [First, ...Prefix] : []; export type TupleMap, V> = { set(keys: Prefix, value: V): void; get(keys: Prefix): V | null; delete(keys: Prefix): void; }; /** * Creates a map whose keys are tuples. Tuples are compared per-element. This * is useful when a key has multiple parts, but you don't want to concatenate * them into a single string value. * * In the Segment Cache, we use this to store cache entries by both their href * and their Next-URL. * * Example: * map.set(['https://localhost', 'foo/bar/baz'], 'yay'); * map.get(['https://localhost', 'foo/bar/baz']); // returns 'yay' */ export declare function createTupleMap, V>(): TupleMap;