我正在使用webpack babel typescript react,一切都运行得很好,但是当在dev模式下热重新加载不能重新编译ts文件时,我遇到了一个问题,假设我有一个这样的模型 type Model = {} 正在运行的项目显示我'Compilled‘,但如果我需要将此属性更改为number, type Model = {} 我会收到 [tsl] ERROR in /src/app/modules/home/home.component.tsx(14,57)
TS2322: Type 'numbe
我在设置webpack使用React和TypeScript时遇到了一个错误: You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders|| <di