Convert shorthanded syntax for function Flow types to expanded form
Something in www's test pipeline isn't able to parse this.
Andrew Clark committed
Mar 1, 2017 at 14:38 UTC
b1a565f8fa976f7b4b772084ab97b58b7bf28ebf
1 file changed
+2
-2
src/renderers/shared/utils/ReactErrorUtils.js
+2
-2
@@ -26,7 +26,7 @@ let caughtError = null;
26
const ReactErrorUtils = {
27
invokeGuardedCallback: function<A, B, C, D, E, F, Context>(
28
name: string | null,
29
- func: (A, B, C, D, E, F) => void,
29
+ func: (a: A, b: B, c: C, d: D, e: E, f: F) => void,
30
context: Context,
31
a: A,
32
b: B,
@@ -55,7 +55,7 @@ const ReactErrorUtils = {
55
*/
56
invokeGuardedCallbackAndCatchFirstError: function<A, B, C, D, E, F, Context>(
57
name: string | null,
58
- func: (A, B, C, D, E, F) => void,
58
+ func: (a: A, b: B, c: C, d: D, e: E, f: F) => void,
59
context: Context,
60
a: A,
61
b: B,