UNPKG

@formily/reactive

Version:

> Web Reactive Library Like Mobx

13 lines (12 loc) 262 B
interface IValue<T = any> { value?: T; } export interface IComputed { <T>(compute: () => T): IValue<T>; <T>(compute: { get?: () => T; set?: (value: T) => void; }): IValue<T>; } export declare const computed: IComputed; export {};