由于@ types / react中的更改,问题浮出水面: https :
作为v3.9.3发布。
@oliviertassinari是否存在一个示例,说明如何使用tsconfig.json
的paths
选项正确覆盖?
目前正在这样做:
"paths": {
"@material-ui/core/*": ["typings/@material-ui/core/*"]
}
...
src/typings
└── @material-ui
└── core
└── Button
├── Button.d.ts
├── Button.js
├── index.d.ts
└── index.js
但感觉我做错了什么。
我们使用的是@material-ui/core
的非常旧的版本,否则我会升级。
最有用的评论
作为v3.9.3发布。