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

View File

@@ -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.

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';

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
*/

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';

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');

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';

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 ReactNativeComponentTree
* @format
* @flow
*/

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 ReactNativeViewConfigRegistry
* @format
* @flow
*/
'use strict';
import type {

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';

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 createReactNativeComponentClass
* @format
* @flow
*/