Fix flow errors (#6719)
The new flow somehow found these on my machine but nowhere else and not previously.
Sebastian Markbåge committed
May 10, 2016 at 11:56 UTC
069f8099d6279ffb16bdd9551480f7e8b5254727
2 files changed
+1
-2
src/renderers/native/ReactNativeDOMIDOperations.js
-1
@@ -7,7 +7,6 @@
7
* of patent rights can be found in the PATENTS file in the same directory.
8
*
9
* @providesModule ReactNativeDOMIDOperations
10
- * @flow
10
*/
11
'use strict';
12
src/renderers/native/ReactNativeMount.js
+1
-1
@@ -175,7 +175,7 @@ var ReactNativeMount = {
175
* @param {View} view View tree image.
176
* @param {number} containerViewID View to insert sub-view into.
177
*/
178
- _mountImageIntoNode: function(mountImage, containerID) {
178
+ _mountImageIntoNode: function(mountImage : number, containerID : number) {
179
// Since we now know that the `mountImage` has been mounted, we can
180
// mark it as such.
181
var childTag = mountImage;