Adding the correct argument name to documentation tag (#10529)

This commit is contained in:
Mitermayer Reis
2017-08-25 09:15:47 -07:00
committed by Flarnie Marchan
parent c39a976be7
commit 0e556fef24
6 changed files with 8 additions and 8 deletions
@@ -58,7 +58,7 @@ var ReactNoopUpdateQueue = {
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {?function} callback Called after component is updated.
* @param {?string} Name of the calling function in the public API.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueForceUpdate: function(publicInstance, callback, callerName) {
@@ -75,7 +75,7 @@ var ReactNoopUpdateQueue = {
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} completeState Next state.
* @param {?function} callback Called after component is updated.
* @param {?string} Name of the calling function in the public API.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueReplaceState: function(
@@ -273,7 +273,7 @@ function extractCompositionEvent(
}
/**
* @param {string} topLevelType Record from `BrowserEventConstants`.
* @param {TopLevelTypes} topLevelType Record from `BrowserEventConstants`.
* @param {object} nativeEvent Native browser event.
* @return {?string} The string corresponding to this `beforeInput` event.
*/
+1 -1
View File
@@ -85,7 +85,7 @@ function internalGetID(node) {
/**
* Mounts this component and inserts it into the DOM.
*
* @param {ReactComponent} componentInstance The instance to mount.
* @param {ReactComponent} wrapperInstance The instance to mount.
* @param {DOMElement} container DOM element to mount into.
* @param {ReactReconcileTransaction} transaction
* @param {boolean} shouldReuseMarkup If true, do not insert markup
@@ -74,7 +74,7 @@ class ReactServerUpdateQueue {
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {?function} callback Called after component is updated.
* @param {?string} Name of the calling function in the public API.
* @param {?string} callerName Name of the calling function in the public API.
* @internal
*/
enqueueForceUpdate(
@@ -32,8 +32,8 @@ var ReactReconciler = {
*
* @param {ReactComponent} internalInstance
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
* @param {?object} the containing host component instance
* @param {?object} info about the host container
* @param {?object} hostParent the containing host component instance
* @param {?object} hostContainerInfo info about the host container
* @return {?string} Rendered markup to be inserted into the DOM.
* @final
* @internal
@@ -123,7 +123,7 @@ var ReactUpdateQueue = {
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {?function} callback Called after component is updated.
* @param {?string} Name of the calling function in the public API.
* @param {?string} callerName Name of the calling function in the public API.
* @internal
*/
enqueueForceUpdate: function(publicInstance, callback, callerName) {