@react-native/typescript-config causes type check error for dependencies #44298
Labels
Resolution: Answered
When the issue is resolved with a simple answer
Resolution: Issue in another tool or repo
An issue that was opened against React Native but in reality is affecting another tool or library
Description
react-native
project from version0.72.4
to0.74.0
.tsconfig
extends property from@tsconfig/react-native/tsconfig.json
to@react-native/typescript-config/tsconfig.json
.yarn tsc --noEmit
, I encountered type check errors related to thereactotron-mst
library."customConditions": ["react-native"]
in mytsconfig.json
, all the errors disappeared.Steps to reproduce
yarn install
yarn tsc --noEmit
"customConditions": null
intsconfig.json
yarn tsc --noEmit
React Native Version
0.73.7
Affected Platforms
Build - MacOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/zcmgyu/reproducer-type-check/
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: