| 1234567891011 |
- export type KeyType = string | number;
- type ValueType = [number, any];
- declare class Entity {
- instanceId: string;
- constructor(instanceId: string);
- /** @private Internal cache map. Do not access this directly */
- cache: Map<string, ValueType>;
- get(keys: KeyType[] | string): ValueType | null;
- update(keys: KeyType[] | string, valueFn: (origin: ValueType | null) => ValueType | null): void;
- }
- export default Entity;
|