赞
踩
使用VS Code做开发工具,安装好依赖,打开项目后,发现报了一堆错误和警告,有很多tsx相关错误 在tsconfig.json 文件夹中 报了这么一个错 @tsconfig/react-native/tsconfig.json Not Found
tsx
tsconfig.json
@tsconfig/react-native/tsconfig.json Not Found
解决方法:选择vs code typescript为当前项目版本
选择本地版本的typescript 就解决问题了。
typescript