@samitouri / QOS-React / commits / a0c510adaf

Cleanup ReactErrorUtils (#8145)

Remove 'b' argument from Flow annotation

iurii kucherov committed Nov 8, 2016 at 21:16 UTC a0c510adaf9a2867439072fa8cd04fc0a32439b5
1 file changed +1 -2
src/renderers/shared/utils/ReactErrorUtils.js
+1 -2
@@ -19,8 +19,7 @@ var caughtError = null;
19 *
20 * @param {String} name of the guard to use for logging or debugging
21 * @param {Function} func The function to invoke
22 - * @param {*} a First argument
23 - * @param {*} b Second argument
22 + * @param {*} a Argument
23 */
24 function invokeGuardedCallback<A>(
25 name: string,