From 564cc6774eca80d8222f2d77535142f95f1906f0 Mon Sep 17 00:00:00 2001 From: alexandersorokin Date: Fri, 12 Oct 2018 00:28:59 +0500 Subject: [PATCH] Add "never", "always" and "observed" to enforceActions Add "never", "always" and "observed" possible values to enforceActions configuration parameter. It's because boolean and "strict" now deprecated. --- flow-typed/mobx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow-typed/mobx.js b/flow-typed/mobx.js index 2cdabe379..dc1d94052 100644 --- a/flow-typed/mobx.js +++ b/flow-typed/mobx.js @@ -3,7 +3,7 @@ export type IObservableMapInitialValues = IMapEntries | KeyValueMap | IMap export interface IMobxConfigurationOptions { - +enforceActions?: boolean | "strict", + +enforceActions?: boolean | "strict" | "never" | "always" | "observed", computedRequiresReaction?: boolean, isolateGlobalState?: boolean, disableErrorBoundaries?: boolean,