mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user