mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix flow errors (#6719)
The new flow somehow found these on my machine but nowhere else
and not previously.
(cherry picked from commit 069f8099d6)
This commit is contained in:
committed by
Paul O’Shannessy
parent
f112083c7a
commit
484a5b38af
@@ -7,7 +7,6 @@
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*
|
||||
* @providesModule ReactNativeDOMIDOperations
|
||||
* @flow
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
|
||||
@@ -175,7 +175,7 @@ var ReactNativeMount = {
|
||||
* @param {View} view View tree image.
|
||||
* @param {number} containerViewID View to insert sub-view into.
|
||||
*/
|
||||
_mountImageIntoNode: function(mountImage, containerID) {
|
||||
_mountImageIntoNode: function(mountImage : number, containerID : number) {
|
||||
// Since we now know that the `mountImage` has been mounted, we can
|
||||
// mark it as such.
|
||||
var childTag = mountImage;
|
||||
|
||||
Reference in New Issue
Block a user