@samitouri / QOS-React / commits / a7c479b3e9

Fixing incorrect documentation tags (#10530)

Mitermayer Reis committed Aug 26, 2017 at 16:53 UTC a7c479b3e94044cdcd9713c5a8c6443d0fffaa0b
2 files changed +2 -2
src/renderers/native/ReactNativeEventEmitter.js
+1 -1
@@ -95,7 +95,7 @@ var ReactNativeEventEmitter = {
95 *
96 * @param {rootNodeID} rootNodeID React root node ID that event occurred on.
97 * @param {TopLevelType} topLevelType Top level type of event.
98 - * @param {object} nativeEventParam Object passed from native.
98 + * @param {?object} nativeEventParam Object passed from native.
99 */
100 _receiveRootNodeIDEvent: function(
101 rootNodeID: number,
src/renderers/shared/shared/event/SyntheticEvent.js
+1 -1
@@ -280,8 +280,8 @@ module.exports = SyntheticEvent;
280 /**
281 * Helper to nullify syntheticEvent instance properties when destructing
282 *
283 - * @param {object} SyntheticEvent
283 * @param {String} propName
284 + * @param {?object} getVal
285 * @return {object} defineProperty object
286 */
287 function getPooledWarningPropertyDefinition(propName, getVal) {