UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

11 lines (10 loc) 403 B
export declare class StateTracker<T, K = string> extends Map<K, T> { protected readonly defaultValue?: T | undefined; protected readonly defaultState?: K | undefined; private cachedState?; private cachedValue?; constructor(defaultValue?: T | undefined, defaultState?: K | undefined); set(key: K, value?: T): this; stateId(): K | undefined; stateValue(): T | undefined; }