tsx 文件中提示这个错误,我已经安装了 redux 依赖和"@types/redux": "3.6.31"。请问该如何解决?
相关问题
- Angular RxJS mergeMap types
- void before promise syntax
- Ignore Typescript errors in Webpack-dev-server
- Angular: ngc or tsc?
- Programmatically navigating : React Router V4+ Typ
相关文章
- Cannot find module 'redux' 怎么解决?
- How to get a Component's own ElementRef for re
- 'Pick' only refers to a type, but is being
- Why does `keyof any` have type of `string | number
- React testing library: Test attribute / prop
- TypeScript - Puppeteer library error: “Cannot find
- How to reference type of self in Typescript interf
- React and typescript with webpack typing issue
在tsconfig.json中compilerOptions添加
"moduleResolution": "Node"
试下行不行
删掉 node_modules 文件夹,重新安装依赖即可。