Skip to content

Commit

Permalink
Update tsconfig to not run on files inside Pods (#42909)
Browse files Browse the repository at this point in the history
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](callstack#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: #42909

Reviewed By: lunaleaps

Differential Revision: D53518533

Pulled By: cipolleschi

fbshipit-source-id: 8d7819ec3ae8f0b413389157a34f49961434037f
  • Loading branch information
bartlomein authored and facebook-github-bot committed Feb 9, 2024
1 parent b796cda commit 40bb425
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/typescript-config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@
"skipLibCheck": true,
// Causes issues with package.json "exports"
"forceConsistentCasingInFileNames": false
}
},
"exclude": [
"**/Pods/**"
]
}

0 comments on commit 40bb425

Please sign in to comment.