UNPKG

mobx

Version:

Simple, scalable state management.

17 lines (16 loc) 622 B
export declare function configure(options: { enforceActions?: "never" | "always" | "observed"; computedRequiresReaction?: boolean; /** * Warn if you try to create to derivation / reactive context without accessing any observable. */ reactionRequiresObservable?: boolean; /** * Warn if observables are accessed outside a reactive context */ observableRequiresReaction?: boolean; isolateGlobalState?: boolean; disableErrorBoundaries?: boolean; reactionScheduler?: (f: () => void) => void; useProxies?: "always" | "never" | "ifavailable"; }): void;