mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51822 Adds `flow` to the remaining files without it, in React Native. After this, every `*.{flow,js}` file in React Native will have either `flow` or `noflow`. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D75980238 fbshipit-source-id: 84cd88e4eb0b0b1dc69df247de79a75c2119bf96
20 lines
446 B
JavaScript
20 lines
446 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict-local
|
|
* @format
|
|
*/
|
|
|
|
/*::
|
|
export type * from './index.flow';
|
|
*/
|
|
|
|
if (!Boolean(process.env.BUILD_EXCLUDE_BABEL_REGISTER)) {
|
|
require('../../../../scripts/babel-register').registerForMonorepo();
|
|
}
|
|
|
|
module.exports = require('./index.flow');
|