Adding the correct argument name to documentation tag (#10529)
Mitermayer Reis committed
Aug 25, 2017 at 09:15 UTC
0e556fef24e9db468d00b05ef8ddfa0b06b08f0c
6 files changed
+8
-8
src/isomorphic/modern/class/ReactNoopUpdateQueue.js
+2
-2
@@ -58,7 +58,7 @@ var ReactNoopUpdateQueue = {
58
*
59
* @param {ReactClass} publicInstance The instance that should rerender.
60
* @param {?function} callback Called after component is updated.
61
- * @param {?string} Name of the calling function in the public API.
61
+ * @param {?string} callerName name of the calling function in the public API.
62
* @internal
63
*/
64
enqueueForceUpdate: function(publicInstance, callback, callerName) {
@@ -75,7 +75,7 @@ var ReactNoopUpdateQueue = {
75
* @param {ReactClass} publicInstance The instance that should rerender.
76
* @param {object} completeState Next state.
77
* @param {?function} callback Called after component is updated.
78
- * @param {?string} Name of the calling function in the public API.
78
+ * @param {?string} callerName name of the calling function in the public API.
79
* @internal
80
*/
81
enqueueReplaceState: function(
src/renderers/dom/shared/eventPlugins/BeforeInputEventPlugin.js
+1
-1
@@ -273,7 +273,7 @@ function extractCompositionEvent(
273
}
274
275
/**
276
- * @param {string} topLevelType Record from `BrowserEventConstants`.
276
+ * @param {TopLevelTypes} topLevelType Record from `BrowserEventConstants`.
277
* @param {object} nativeEvent Native browser event.
278
* @return {?string} The string corresponding to this `beforeInput` event.
279
*/
src/renderers/dom/stack/client/ReactMount.js
+1
-1
@@ -85,7 +85,7 @@ function internalGetID(node) {
85
/**
86
* Mounts this component and inserts it into the DOM.
87
*
88
- * @param {ReactComponent} componentInstance The instance to mount.
88
+ * @param {ReactComponent} wrapperInstance The instance to mount.
89
* @param {DOMElement} container DOM element to mount into.
90
* @param {ReactReconcileTransaction} transaction
91
* @param {boolean} shouldReuseMarkup If true, do not insert markup
src/renderers/dom/stack/server/ReactServerUpdateQueue.js
+1
-1
@@ -74,7 +74,7 @@ class ReactServerUpdateQueue {
74
*
75
* @param {ReactClass} publicInstance The instance that should rerender.
76
* @param {?function} callback Called after component is updated.
77
- * @param {?string} Name of the calling function in the public API.
77
+ * @param {?string} callerName Name of the calling function in the public API.
78
* @internal
79
*/
80
enqueueForceUpdate(
src/renderers/shared/stack/reconciler/ReactReconciler.js
+2
-2
@@ -32,8 +32,8 @@ var ReactReconciler = {
32
*
33
* @param {ReactComponent} internalInstance
34
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
35
- * @param {?object} the containing host component instance
36
- * @param {?object} info about the host container
35
+ * @param {?object} hostParent the containing host component instance
36
+ * @param {?object} hostContainerInfo info about the host container
37
* @return {?string} Rendered markup to be inserted into the DOM.
38
* @final
39
* @internal
src/renderers/shared/stack/reconciler/ReactUpdateQueue.js
+1
-1
@@ -123,7 +123,7 @@ var ReactUpdateQueue = {
123
*
124
* @param {ReactClass} publicInstance The instance that should rerender.
125
* @param {?function} callback Called after component is updated.
126
- * @param {?string} Name of the calling function in the public API.
126
+ * @param {?string} callerName Name of the calling function in the public API.
127
* @internal
128
*/
129
enqueueForceUpdate: function(publicInstance, callback, callerName) {