mobx
Version:
Simple, scalable state management.
8 lines (7 loc) • 373 B
TypeScript
export interface IEnhancer<T> {
(newValue: T, oldValue: T | undefined, name: string): T;
}
export declare function deepEnhancer(v: any, _: any, name: any): any;
export declare function shallowEnhancer(v: any, _: any, name: any): any;
export declare function referenceEnhancer(newValue?: any): any;
export declare function refStructEnhancer(v: any, oldValue: any): any;