Files
react-native/packages/react-native/scripts/featureflags/index.js
T
Rubén Norte dbbec3452f Use Flow in feature flags scripts (#42814)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/42814

Improves the type safety of the feature flags generation and verification script.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D53351484

fbshipit-source-id: a71af1bb428cdec327d557de4d54bee9ece57f34
2024-02-05 11:02:48 -08:00

15 lines
417 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.
*
* @format
*/
if (require.main === module) {
require('../../../../scripts/build/babel-register').registerForMonorepo();
const update = require('./update').default;
update(process.argv.includes('--verify-unchanged'));
}