Fix typecheck
Sebastian Markbåge committed
Aug 12, 2015 at 00:32 UTC
d3f338ff27ee52ce631891ffa5f99c2b139b92ab
1 file changed
+4
-4
src/shared/utils/ReactErrorUtils.js
+4
-4
@@ -18,10 +18,10 @@ var ReactErrorUtils = {
18
/**
19
* Call a function while guarding against errors that happens within it.
20
*
21
- * @param name (?String) name of the guard to use for logging or debugging
22
- * @param func (Function) function to invoke
23
- * @param a (*) a First argument
24
- * @param b (*) b Second argument
21
+ * @param {?String} name of the guard to use for logging or debugging
22
+ * @param {Function} func The function to invoke
23
+ * @param {*} a First argument
24
+ * @param {*} b Second argument
25
*/
26
invokeGuardedCallback: function(name, func, a, b) {
27
try {