mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
40bb425f48
Summary: Opening the VisionOS fork crashes `tsserver.js` inside VSCode because of some Pods files. This stops `tsserver` from looking at any files inside Pods [Link to issue](https://github.com/callstack/react-native-visionos/issues/97) ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [GENERAL] [ADDED] - Added a folder inside the `exclude` array inside `tsconfig` For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: https://github.com/facebook/react-native/pull/42909 Reviewed By: lunaleaps Differential Revision: D53518533 Pulled By: cipolleschi fbshipit-source-id: 8d7819ec3ae8f0b413389157a34f49961434037f
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"display": "React Native",
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "es2015",
|
|
"types": ["react-native", "jest"],
|
|
"lib": [
|
|
"es2019",
|
|
"es2020.bigint",
|
|
"es2020.date",
|
|
"es2020.number",
|
|
"es2020.promise",
|
|
"es2020.string",
|
|
"es2020.symbol.wellknown",
|
|
"es2021.promise",
|
|
"es2021.string",
|
|
"es2021.weakref",
|
|
"es2022.array",
|
|
"es2022.object",
|
|
"es2022.string"
|
|
],
|
|
"allowJs": true,
|
|
"jsx": "react-native",
|
|
"noEmit": true,
|
|
"isolatedModules": true,
|
|
"strict": true,
|
|
"moduleResolution": "bundler",
|
|
"customConditions": ["react-native"],
|
|
"allowImportingTsExtensions": true,
|
|
"allowArbitraryExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"resolvePackageJsonImports": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
// Causes issues with package.json "exports"
|
|
"forceConsistentCasingInFileNames": false
|
|
},
|
|
"exclude": [
|
|
"**/Pods/**"
|
|
]
|
|
}
|