package
Default TypeScript configuration for React Native apps
npm install @react-native/typescript-configGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
3.0 kB
Includes dependencies.
Latest published Oct 27, 2026
fb
opensource+npm@fb.com
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.
To opt out of the new Strict TypeScript API you can extend from @react-native/typescript-config/strict
If your app still needs access to deep 'react-native/Libraries/*' imports (deprecated in 0.80), you can opt out via customConditions in your tsconfig.json:
{
"extends": "@react-native/typescript-config",
"compilerOptions": {
// ...
"customConditions": ["react-native", "react-native-legacy-deep-imports"]
}
}