pro-components
pro-components copied to clipboard
🐛[BUG]打包之后useControlModel这个方法ts类型检查错误不能打包
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
本地开发正常,打包ts类型错误显示在 useControlModel hook类型.d.ts文件错误
📷 复现步骤
🏞 期望结果
💻 复现代码
© 版本信息
- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]
🚑 其他信息
以下的 Issues 可能会帮助到你 / The following issues may help you
- [#8332][🐛[BUG]:打包之后useControlModel这个方法ts类型检查错误][86%]
注意升级下依赖包的版本,尽量保持最新
参考 https://github.com/ant-design/pro-components/issues/8217 检查一下ts版本