Files
2026-04-13 08:19:53 +08:00

6 lines
157 B
TypeScript

export declare class DefaultMap<T = string, V = any> extends Map<T, V> {
private factory;
constructor(factory: (key: T) => V);
get(key: T): V;
}