Update headers for React Native shims (#12806)

This commit is contained in:
Timothy Yung
2018-05-14 17:47:47 -07:00
committed by Dan Abramov
parent 45b90d4866
commit 369dd4fb17
10 changed files with 17 additions and 9 deletions
@@ -89,7 +89,9 @@ export type NativeMethodsMixinType = {
type SecretInternalsType = {
NativeMethodsMixin: NativeMethodsMixinType,
ReactDebugTool?: any,
ReactNativeComponentTree: any,
ReactPerf?: any,
computeComponentStackForErrorReporting(tag: number): string,
// TODO (bvaughn) Decide which additional types to expose here?
// And how much information to fill in for the above types.
+2 -1
View File
@@ -4,7 +4,8 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule ReactFeatureFlags
* @format
* @flow
*/
'use strict';
+1 -1
View File
@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule NativeMethodsMixin
* @format
* @flow
*/
+2 -1
View File
@@ -4,7 +4,8 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule ReactDebugTool
* @format
* @flow
*/
'use strict';
+2 -1
View File
@@ -4,9 +4,10 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule ReactFabric
* @format
* @flow
*/
'use strict';
const BatchedBridge = require('BatchedBridge');
+2 -1
View File
@@ -4,9 +4,10 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule ReactNative
* @format
* @flow
*/
'use strict';
import type {ReactNativeType} from 'ReactNativeTypes';
@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule ReactNativeComponentTree
* @format
* @flow
*/
@@ -4,9 +4,10 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule ReactNativeViewConfigRegistry
* @format
* @flow
*/
'use strict';
import type {
+2 -1
View File
@@ -4,7 +4,8 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule ReactPerf
* @format
* @flow
*/
'use strict';
@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @providesModule createReactNativeComponentClass
* @format
* @flow
*/