From 484a5b38aff7420bc3843540d7842e0060e15f92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Markb=C3=A5ge?= Date: Tue, 10 May 2016 11:56:32 -0700 Subject: [PATCH] Fix flow errors (#6719) The new flow somehow found these on my machine but nowhere else and not previously. (cherry picked from commit 069f8099d6279ffb16bdd9551480f7e8b5254727) --- src/renderers/native/ReactNativeDOMIDOperations.js | 1 - src/renderers/native/ReactNativeMount.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderers/native/ReactNativeDOMIDOperations.js b/src/renderers/native/ReactNativeDOMIDOperations.js index 8d07d2d6ab..0d3755be3b 100644 --- a/src/renderers/native/ReactNativeDOMIDOperations.js +++ b/src/renderers/native/ReactNativeDOMIDOperations.js @@ -7,7 +7,6 @@ * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ReactNativeDOMIDOperations - * @flow */ 'use strict'; diff --git a/src/renderers/native/ReactNativeMount.js b/src/renderers/native/ReactNativeMount.js index e1f2487223..0694ec262c 100644 --- a/src/renderers/native/ReactNativeMount.js +++ b/src/renderers/native/ReactNativeMount.js @@ -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;