ether-admin/node_modules/ant-design-vue/lib/_util/cssinjs/Cache.d.ts

12 lines
437 B
TypeScript

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;