UNPKG

state-management-utilities

Version:
8 lines (7 loc) 368 B
import type { TypeStateManagerConfigs } from "./state-manager"; import { StateManager } from "./state-manager"; export declare class Computed<DataType> extends StateManager<DataType> { get value(): any; set value(_: any); constructor(callback: () => DataType, triggers: (StateManager<any> | Computed<any>)[], config?: TypeStateManagerConfigs<DataType>); }