rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
11 lines • 317 B
TypeScript
/**
* @public
*/
export declare class DebugWeakStore<TVal, TKey extends object = object> {
private values;
constructor(values?: WeakMap<TKey, TVal>);
setValue(key: TKey, value: TVal): void;
deleteValue(key: TKey): void;
getValue(key: TKey): TVal;
}
//# sourceMappingURL=debug-weak-store.d.ts.map