mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d9a582e949
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54009 Packages haven't been bumped on main ahead of 0.83. This takes care of it. Changelog: [Internal] [Changed] - Reviewed By: cipolleschi, huntie Differential Revision: D83580515 fbshipit-source-id: 7471e77f74e3fb3b4ee6538a49369b5df1393098
@react-native/typescript-config
This package provides the default tsconfig.json used by newly built React Native apps.
This template is customized for specific versions of React Native, and should be updated in sync with the rest of your app.
Strict TypeScript API
To opt into the new strict TypeScript API you can extend from @react-native/typescript-config/strict
{
"extends": "@react-native/typescript-config/strict",
// ...
}
or alternatively add the customConditions yourself:
{
"extends": "@react-native/typescript-config",
"compilerOptions": {
// ...
"customConditions": ["react-native-strict-api", "react-native"]
}
}