UNPKG

mobx-keystone-mindreframer

Version:

A MobX powered state management solution based on data trees with first class support for Typescript, snapshots, patches and much more

10 lines (9 loc) 268 B
/** * Decorator that turns a function into a model action. * * @param target * @param propertyKey * @param [baseDescriptor] * @returns */ export declare function modelAction(target: any, propertyKey: string, baseDescriptor?: PropertyDescriptor): void;