fuc-new/doc/node_modules/superjson/dist/double-indexed-kv.d.ts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

9 lines
231 B
TypeScript

export declare class DoubleIndexedKV<K, V> {
keyToValue: Map<K, V>;
valueToKey: Map<V, K>;
set(key: K, value: V): void;
getByKey(key: K): V | undefined;
getByValue(value: V): K | undefined;
clear(): void;
}