holdmyprobs/node_modules/superjson/dist/double-indexed-kv.d.ts
confignsk 1ae347f531
Some checks are pending
Deploy VitePress site to Pages / build (push) Waiting to run
full start
2025-05-28 01:32:04 +07: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;
}