使用(https://github.com/Microsoft/TypeScript-React-Starter)创建了一个应用程序
npm install -g create-react-app
create-react-app my-app --scripts-version = react-scripts-ts
我已经阅读了很多文章,似乎是绕圈子,但还没有找到我如何调试默认的app.test.tsx
节点版本为7.9.0其他所有内容都应该是最新版本 .
使用(https://github.com/Microsoft/TypeScript-React-Starter)创建了一个应用程序
npm install -g create-react-app
create-react-app my-app --scripts-version = react-scripts-ts
我已经阅读了很多文章,似乎是绕圈子,但还没有找到我如何调试默认的app.test.tsx
节点版本为7.9.0其他所有内容都应该是最新版本 .
1 回答
这已经修复了 . https://github.com/Microsoft/TypeScript-React-Starter/issues/46
安装Node v8.5
更新到最新版本的Create-React-App(或将react-scripts-ts更新为2.7)
使用配置vscode调试器