diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-07-26 16:45:30 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2017-07-27 09:52:45 +0100 |
| commit | 9ad9fffaf35da36d21959ff5a3acb86adfb59b62 (patch) | |
| tree | 917ec24410af6addc9d0313f30467dd3531d98b0 | |
| parent | d74e2ea32c5baa3a137359c0bb99cc8727e38c6c (diff) | |
| download | mullvadvpn-9ad9fffaf35da36d21959ff5a3acb86adfb59b62.tar.xz mullvadvpn-9ad9fffaf35da36d21959ff5a3acb86adfb59b62.zip | |
Update redux annotations to the latest
| -rw-r--r-- | flow-typed/npm/redux_v3.x.x.js | 55 |
1 files changed, 52 insertions, 3 deletions
diff --git a/flow-typed/npm/redux_v3.x.x.js b/flow-typed/npm/redux_v3.x.x.js index f4f5e2005b..711e59910f 100644 --- a/flow-typed/npm/redux_v3.x.x.js +++ b/flow-typed/npm/redux_v3.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 7f1a115f75043c44385071ea3f33c586 -// flow-typed version: 358375125e/redux_v3.x.x/flow_>=v0.33.x +// flow-typed signature: 76c3dfb5a40ce169d5c08fe80dbd029a +// flow-typed version: 37b1c6d953/redux_v3.x.x/flow_>=v0.33.x declare module 'redux' { @@ -53,6 +53,55 @@ declare module 'redux' { declare function combineReducers<O: Object, A>(reducers: O): CombinedReducer<$ObjMap<O, <S>(r: Reducer<S, any>) => S>, A>; - declare function compose<S, A>(...fns: Array<StoreEnhancer<S, A>>): Function; + declare function compose<A, B>(ab: (a: A) => B): (a: A) => B + declare function compose<A, B, C>( + bc: (b: B) => C, + ab: (a: A) => B + ): (a: A) => C + declare function compose<A, B, C, D>( + cd: (c: C) => D, + bc: (b: B) => C, + ab: (a: A) => B + ): (a: A) => D + declare function compose<A, B, C, D, E>( + de: (d: D) => E, + cd: (c: C) => D, + bc: (b: B) => C, + ab: (a: A) => B + ): (a: A) => E + declare function compose<A, B, C, D, E, F>( + ef: (e: E) => F, + de: (d: D) => E, + cd: (c: C) => D, + bc: (b: B) => C, + ab: (a: A) => B + ): (a: A) => F + declare function compose<A, B, C, D, E, F, G>( + fg: (f: F) => G, + ef: (e: E) => F, + de: (d: D) => E, + cd: (c: C) => D, + bc: (b: B) => C, + ab: (a: A) => B + ): (a: A) => G + declare function compose<A, B, C, D, E, F, G, H>( + gh: (g: G) => H, + fg: (f: F) => G, + ef: (e: E) => F, + de: (d: D) => E, + cd: (c: C) => D, + bc: (b: B) => C, + ab: (a: A) => B + ): (a: A) => H + declare function compose<A, B, C, D, E, F, G, H, I>( + hi: (h: H) => I, + gh: (g: G) => H, + fg: (f: F) => G, + ef: (e: E) => F, + de: (d: D) => E, + cd: (c: C) => D, + bc: (b: B) => C, + ab: (a: A) => B + ): (a: A) => I } |
