We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 @ant-design/pro-components 2.8.3 之后的版本中,ProForm 的类型定义出现问题。这是由于类型导入路径从相对路径改为了绝对路径(使用 src/),导致类型无法被正确解析。
路径:@ant-design/pro-form/es/layouts/ProForm/index.d.ts
// ✅ 2.8.3 之前 var Group: React.FC<import("../..").GroupProps>; var Item: React.FC<import("../../components").ProFormItemProps>;
// 🔴 2.8.3 之后 var Group: React.FC<import("src").GroupProps>; var Item: React.FC<import("src/components/FormItem").ProFormItemProps>;
"typescript": "^5.7.3"
#8965
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug 描述
在 @ant-design/pro-components 2.8.3 之后的版本中,ProForm 的类型定义出现问题。这是由于类型导入路径从相对路径改为了绝对路径(使用 src/),导致类型无法被正确解析。
📷 复现步骤
路径:@ant-design/pro-form/es/layouts/ProForm/index.d.ts
"typescript": "^5.7.3"
🏞 期望结果
💻 复现代码
© 版本信息
🚑 其他信息
#8965
The text was updated successfully, but these errors were encountered: