Convert build scripts to regular Flow syntax (#49103)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/49103

Changelog: [Internal]

Reviewed By: j-piasecki

Differential Revision: D68960540

fbshipit-source-id: 0ac01529eaea97db98b85b6021532092997d633b
This commit is contained in:
Alex Hunt authored and Facebook GitHub Bot committed 2025-02-03 03:49:23 -08:00
1 parent e1575857dd
commit 3cf400a51b
8 files changed
+63 -43

No files matched your search

+1 -3
View File
@@ -9,13 +9,11 @@
* @oncall react_native
*/
/*::
import type {BabelCoreOptions} from '@babel/core';
*/
const TARGET_NODE_VERSION = '18';
const config /*: BabelCoreOptions */ = {
const config: BabelCoreOptions = {
presets: [
require.resolve('@babel/preset-flow'),
[