mobx
Version:
Simple, scalable state management.
9 lines (8 loc) • 453 B
TypeScript
import { ObservableObjectAdministration, Annotation } from "../internal";
export declare function createActionAnnotation(name: string, options?: object): Annotation;
export declare function createActionDescriptor(adm: ObservableObjectAdministration, annotation: Annotation, key: PropertyKey, descriptor: PropertyDescriptor, safeDescriptors?: boolean): {
value: Function;
configurable: boolean;
enumerable: boolean;
writable: boolean;
};