diff --git a/keyserver/flow-typed/npm/lodash_v4.x.x.js b/keyserver/flow-typed/npm/lodash_v4.x.x.js --- a/keyserver/flow-typed/npm/lodash_v4.x.x.js +++ b/keyserver/flow-typed/npm/lodash_v4.x.x.js @@ -1,6 +1,54 @@ // flow-typed signature: 23d2a3641578673e8eb7c9f8b6bcc3af // flow-typed version: 6912183195/lodash_v4.x.x/flow_>=v0.201.x +declare function compose(): (a: T) => T; +declare function compose) => mixed>( + f: F, +): F; +declare function compose, R>( + f1: (a: A) => R, + f2: (...T) => A, +): (...T) => R; +declare function compose, R>( + f1: (b: B) => R, + f2: (a: A) => B, + f3: (...T) => A, +): (...T) => R; +declare function compose, R>( + f1: (c: C) => R, + f2: (b: B) => C, + f3: (a: A) => B, + f4: (...T) => A, +): (...T) => R; +declare function compose( + f1: (b: any) => R, + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; +declare function compose( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; + +declare function composeReverse(): (a: T) => T; +declare function composeReverse) => mixed>(f: F): F; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => R, +): (...T) => R; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => B, + f3: (b: B) => R, +): (...T) => R; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => B, + f3: (b: B) => C, + f4: (c: C) => R, +): (...T) => R; +declare function composeReverse( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; + declare module "lodash" { declare type Path = $ReadOnlyArray | string | number; declare type __CurriedFunction1 = (...r: [AA]) => R; @@ -1514,8 +1562,8 @@ ) => T1) // NaN is a number instead of its own type, otherwise it would behave like null/void & ((value: T1, defaultValue: T2) => T1 | T2); - flow: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - flowRight: $Compose & ((funcs: $ReadOnlyArray) => Function); + flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; identity(value: T): T; iteratee(func?: any): Function; matches(source?: ?Object): Function; @@ -3464,10 +3512,10 @@ // NaN is a number instead of its own type, otherwise it would behave like null/void & ((defaultValue: T2) => ((value: T1) => T1 | T2)) & ((defaultValue: T2, value: T1) => T1 | T2); - flow: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - pipe: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - flowRight: $Compose & ((funcs: $ReadOnlyArray) => Function); - compose: $Compose & ((funcs: $ReadOnlyArray) => Function); + flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + pipe: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; + compose: ((funcs: $ReadOnlyArray) => Function) & typeof compose; identity(value: T): T; iteratee(func: any): Function; matches: diff --git a/keyserver/flow-typed/npm/redux_v4.x.x.js b/keyserver/flow-typed/npm/redux_v4.x.x.js --- a/keyserver/flow-typed/npm/redux_v4.x.x.js +++ b/keyserver/flow-typed/npm/redux_v4.x.x.js @@ -100,5 +100,32 @@ reducers: $ObjMap(V) => Reducer>, ): Reducer; - declare export var compose: $Compose; + declare function _compose(): (a: T) => T; + declare function _compose) => mixed>( + f: F, + ): F; + declare function _compose, R>( + f1: (a: A) => R, + f2: (...T) => A, + ): (...T) => R; + declare function _compose, R>( + f1: (b: B) => R, + f2: (a: A) => B, + f3: (...T) => A, + ): (...T) => R; + declare function _compose, R>( + f1: (c: C) => R, + f2: (b: B) => C, + f3: (a: A) => B, + f4: (...T) => A, + ): (...T) => R; + declare function _compose( + f1: (b: any) => R, + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> + ): (...$ReadOnlyArray) => R; + declare function _compose( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> + ): (...$ReadOnlyArray) => R; + + declare export var compose: typeof _compose; } diff --git a/lib/flow-typed/npm/lodash_v4.x.x.js b/lib/flow-typed/npm/lodash_v4.x.x.js --- a/lib/flow-typed/npm/lodash_v4.x.x.js +++ b/lib/flow-typed/npm/lodash_v4.x.x.js @@ -1,6 +1,54 @@ // flow-typed signature: 23d2a3641578673e8eb7c9f8b6bcc3af // flow-typed version: 6912183195/lodash_v4.x.x/flow_>=v0.201.x +declare function compose(): (a: T) => T; +declare function compose) => mixed>( + f: F, +): F; +declare function compose, R>( + f1: (a: A) => R, + f2: (...T) => A, +): (...T) => R; +declare function compose, R>( + f1: (b: B) => R, + f2: (a: A) => B, + f3: (...T) => A, +): (...T) => R; +declare function compose, R>( + f1: (c: C) => R, + f2: (b: B) => C, + f3: (a: A) => B, + f4: (...T) => A, +): (...T) => R; +declare function compose( + f1: (b: any) => R, + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; +declare function compose( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; + +declare function composeReverse(): (a: T) => T; +declare function composeReverse) => mixed>(f: F): F; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => R, +): (...T) => R; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => B, + f3: (b: B) => R, +): (...T) => R; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => B, + f3: (b: B) => C, + f4: (c: C) => R, +): (...T) => R; +declare function composeReverse( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; + declare module "lodash" { declare type Path = $ReadOnlyArray | string | number; declare type __CurriedFunction1 = (...r: [AA]) => R; @@ -1514,8 +1562,8 @@ ) => T1) // NaN is a number instead of its own type, otherwise it would behave like null/void & ((value: T1, defaultValue: T2) => T1 | T2); - flow: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - flowRight: $Compose & ((funcs: $ReadOnlyArray) => Function); + flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; identity(value: T): T; iteratee(func?: any): Function; matches(source?: ?Object): Function; @@ -3464,10 +3512,10 @@ // NaN is a number instead of its own type, otherwise it would behave like null/void & ((defaultValue: T2) => ((value: T1) => T1 | T2)) & ((defaultValue: T2, value: T1) => T1 | T2); - flow: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - pipe: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - flowRight: $Compose & ((funcs: $ReadOnlyArray) => Function); - compose: $Compose & ((funcs: $ReadOnlyArray) => Function); + flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + pipe: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; + compose: ((funcs: $ReadOnlyArray) => Function) & typeof compose; identity(value: T): T; iteratee(func: any): Function; matches: diff --git a/lib/flow-typed/npm/redux_v4.x.x.js b/lib/flow-typed/npm/redux_v4.x.x.js --- a/lib/flow-typed/npm/redux_v4.x.x.js +++ b/lib/flow-typed/npm/redux_v4.x.x.js @@ -100,5 +100,32 @@ reducers: $ObjMap(V) => Reducer>, ): Reducer; - declare export var compose: $Compose; + declare function _compose(): (a: T) => T; + declare function _compose) => mixed>( + f: F, + ): F; + declare function _compose, R>( + f1: (a: A) => R, + f2: (...T) => A, + ): (...T) => R; + declare function _compose, R>( + f1: (b: B) => R, + f2: (a: A) => B, + f3: (...T) => A, + ): (...T) => R; + declare function _compose, R>( + f1: (c: C) => R, + f2: (b: B) => C, + f3: (a: A) => B, + f4: (...T) => A, + ): (...T) => R; + declare function _compose( + f1: (b: any) => R, + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> + ): (...$ReadOnlyArray) => R; + declare function _compose( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> + ): (...$ReadOnlyArray) => R; + + declare export var compose: typeof _compose; } diff --git a/native/flow-typed/npm/lodash_v4.x.x.js b/native/flow-typed/npm/lodash_v4.x.x.js --- a/native/flow-typed/npm/lodash_v4.x.x.js +++ b/native/flow-typed/npm/lodash_v4.x.x.js @@ -1,6 +1,54 @@ // flow-typed signature: 23d2a3641578673e8eb7c9f8b6bcc3af // flow-typed version: 6912183195/lodash_v4.x.x/flow_>=v0.201.x +declare function compose(): (a: T) => T; +declare function compose) => mixed>( + f: F, +): F; +declare function compose, R>( + f1: (a: A) => R, + f2: (...T) => A, +): (...T) => R; +declare function compose, R>( + f1: (b: B) => R, + f2: (a: A) => B, + f3: (...T) => A, +): (...T) => R; +declare function compose, R>( + f1: (c: C) => R, + f2: (b: B) => C, + f3: (a: A) => B, + f4: (...T) => A, +): (...T) => R; +declare function compose( + f1: (b: any) => R, + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; +declare function compose( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; + +declare function composeReverse(): (a: T) => T; +declare function composeReverse) => mixed>(f: F): F; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => R, +): (...T) => R; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => B, + f3: (b: B) => R, +): (...T) => R; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => B, + f3: (b: B) => C, + f4: (c: C) => R, +): (...T) => R; +declare function composeReverse( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; + declare module "lodash" { declare type Path = $ReadOnlyArray | string | number; declare type __CurriedFunction1 = (...r: [AA]) => R; @@ -1514,8 +1562,8 @@ ) => T1) // NaN is a number instead of its own type, otherwise it would behave like null/void & ((value: T1, defaultValue: T2) => T1 | T2); - flow: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - flowRight: $Compose & ((funcs: $ReadOnlyArray) => Function); + flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; identity(value: T): T; iteratee(func?: any): Function; matches(source?: ?Object): Function; @@ -3464,10 +3512,10 @@ // NaN is a number instead of its own type, otherwise it would behave like null/void & ((defaultValue: T2) => ((value: T1) => T1 | T2)) & ((defaultValue: T2, value: T1) => T1 | T2); - flow: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - pipe: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - flowRight: $Compose & ((funcs: $ReadOnlyArray) => Function); - compose: $Compose & ((funcs: $ReadOnlyArray) => Function); + flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + pipe: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; + compose: ((funcs: $ReadOnlyArray) => Function) & typeof compose; identity(value: T): T; iteratee(func: any): Function; matches: diff --git a/native/flow-typed/npm/redux_v4.x.x.js b/native/flow-typed/npm/redux_v4.x.x.js --- a/native/flow-typed/npm/redux_v4.x.x.js +++ b/native/flow-typed/npm/redux_v4.x.x.js @@ -97,8 +97,35 @@ ): C; declare export function combineReducers( - reducers: $ObjMap(V) => Reducer>, + reducers: {[K in keyof RootState]: Reducer} ): Reducer; - declare export var compose: $Compose; + declare function _compose(): (a: T) => T; + declare function _compose) => mixed>( + f: F, + ): F; + declare function _compose, R>( + f1: (a: A) => R, + f2: (...T) => A, + ): (...T) => R; + declare function _compose, R>( + f1: (b: B) => R, + f2: (a: A) => B, + f3: (...T) => A, + ): (...T) => R; + declare function _compose, R>( + f1: (c: C) => R, + f2: (b: B) => C, + f3: (a: A) => B, + f4: (...T) => A, + ): (...T) => R; + declare function _compose( + f1: (b: any) => R, + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> + ): (...$ReadOnlyArray) => R; + declare function _compose( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> + ): (...$ReadOnlyArray) => R; + + declare export var compose: typeof _compose; } diff --git a/web/flow-typed/npm/lodash_v4.x.x.js b/web/flow-typed/npm/lodash_v4.x.x.js --- a/web/flow-typed/npm/lodash_v4.x.x.js +++ b/web/flow-typed/npm/lodash_v4.x.x.js @@ -1,6 +1,54 @@ // flow-typed signature: 23d2a3641578673e8eb7c9f8b6bcc3af // flow-typed version: 6912183195/lodash_v4.x.x/flow_>=v0.201.x +declare function compose(): (a: T) => T; +declare function compose) => mixed>( + f: F, +): F; +declare function compose, R>( + f1: (a: A) => R, + f2: (...T) => A, +): (...T) => R; +declare function compose, R>( + f1: (b: B) => R, + f2: (a: A) => B, + f3: (...T) => A, +): (...T) => R; +declare function compose, R>( + f1: (c: C) => R, + f2: (b: B) => C, + f3: (a: A) => B, + f4: (...T) => A, +): (...T) => R; +declare function compose( + f1: (b: any) => R, + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; +declare function compose( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; + +declare function composeReverse(): (a: T) => T; +declare function composeReverse) => mixed>(f: F): F; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => R, +): (...T) => R; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => B, + f3: (b: B) => R, +): (...T) => R; +declare function composeReverse, R>( + f1: (...T) => A, + f2: (a: A) => B, + f3: (b: B) => C, + f4: (c: C) => R, +): (...T) => R; +declare function composeReverse( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> +): (...$ReadOnlyArray) => R; + declare module "lodash" { declare type Path = $ReadOnlyArray | string | number; declare type __CurriedFunction1 = (...r: [AA]) => R; @@ -1514,8 +1562,8 @@ ) => T1) // NaN is a number instead of its own type, otherwise it would behave like null/void & ((value: T1, defaultValue: T2) => T1 | T2); - flow: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - flowRight: $Compose & ((funcs: $ReadOnlyArray) => Function); + flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; identity(value: T): T; iteratee(func?: any): Function; matches(source?: ?Object): Function; @@ -3464,10 +3512,10 @@ // NaN is a number instead of its own type, otherwise it would behave like null/void & ((defaultValue: T2) => ((value: T1) => T1 | T2)) & ((defaultValue: T2, value: T1) => T1 | T2); - flow: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - pipe: $ComposeReverse & ((funcs: $ReadOnlyArray) => Function); - flowRight: $Compose & ((funcs: $ReadOnlyArray) => Function); - compose: $Compose & ((funcs: $ReadOnlyArray) => Function); + flow: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + pipe: ((funcs: $ReadOnlyArray) => Function) & typeof composeReverse; + flowRight: ((funcs: $ReadOnlyArray) => Function) & typeof compose; + compose: ((funcs: $ReadOnlyArray) => Function) & typeof compose; identity(value: T): T; iteratee(func: any): Function; matches: diff --git a/web/flow-typed/npm/redux_v4.x.x.js b/web/flow-typed/npm/redux_v4.x.x.js --- a/web/flow-typed/npm/redux_v4.x.x.js +++ b/web/flow-typed/npm/redux_v4.x.x.js @@ -97,8 +97,35 @@ ): C; declare export function combineReducers( - reducers: $ObjMap(V) => Reducer>, + reducers: {[K in keyof RootState]: Reducer} ): Reducer; - declare export var compose: $Compose; + declare function _compose(): (a: T) => T; + declare function _compose) => mixed>( + f: F, + ): F; + declare function _compose, R>( + f1: (a: A) => R, + f2: (...T) => A, + ): (...T) => R; + declare function _compose, R>( + f1: (b: B) => R, + f2: (a: A) => B, + f3: (...T) => A, + ): (...T) => R; + declare function _compose, R>( + f1: (c: C) => R, + f2: (b: B) => C, + f3: (a: A) => B, + f4: (...T) => A, + ): (...T) => R; + declare function _compose( + f1: (b: any) => R, + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> + ): (...$ReadOnlyArray) => R; + declare function _compose( + ...funcs: $ReadOnlyArray<(...$ReadOnlyArray) => mixed> + ): (...$ReadOnlyArray) => R; + + declare export var compose: typeof _compose; }