Convert shorthanded syntax for function Flow types to expanded form

Something in www's test pipeline isn't able to parse this.
This commit is contained in:
Andrew Clark 2017-03-01 14:38:29 -08:00
parent a293d75f75
commit b1a565f8fa
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ let caughtError = null;
const ReactErrorUtils = {
invokeGuardedCallback: function<A, B, C, D, E, F, Context>(
name: string | null,
func: (A, B, C, D, E, F) => void,
func: (a: A, b: B, c: C, d: D, e: E, f: F) => void,
context: Context,
a: A,
b: B,
@ -55,7 +55,7 @@ const ReactErrorUtils = {
*/
invokeGuardedCallbackAndCatchFirstError: function<A, B, C, D, E, F, Context>(
name: string | null,
func: (A, B, C, D, E, F) => void,
func: (a: A, b: B, c: C, d: D, e: E, f: F) => void,
context: Context,
a: A,
b: B,