Skip to content
New issue

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

chore(TS): fix TS compilation type errors #9031

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CodeYHJ
Copy link
Contributor

@CodeYHJ CodeYHJ commented Feb 26, 2025

问题

更新最新的pro-components后发现ProForm的index.d.ts文件有部分类型引入错误

image

经过版本对比,[email protected]版本会把 "../.." 重写为 “src”

目前解决方案

添加了resolvePackageJsonExports和resolvePackageJsonImports选项避免[email protected]把某些import路径编译为src路径下

- 添加了resolvePackageJsonExports和resolvePackageJsonImports选项避免[email protected]把某些import路径编译为src路径下
Copy link

pkg-pr-new bot commented Feb 26, 2025

@ant-design/pro-card

npm i https://pkg.pr.new/@ant-design/pro-card@9031

@ant-design/pro-components

npm i https://pkg.pr.new/@ant-design/pro-components@9031

@ant-design/pro-field

npm i https://pkg.pr.new/@ant-design/pro-field@9031

@ant-design/pro-form

npm i https://pkg.pr.new/@ant-design/pro-form@9031

@ant-design/pro-descriptions

npm i https://pkg.pr.new/@ant-design/pro-descriptions@9031

@ant-design/pro-layout

npm i https://pkg.pr.new/@ant-design/pro-layout@9031

@ant-design/pro-list

npm i https://pkg.pr.new/@ant-design/pro-list@9031

@ant-design/pro-provider

npm i https://pkg.pr.new/@ant-design/pro-provider@9031

@ant-design/pro-skeleton

npm i https://pkg.pr.new/@ant-design/pro-skeleton@9031

@ant-design/pro-table

npm i https://pkg.pr.new/@ant-design/pro-table@9031

@ant-design/pro-utils

npm i https://pkg.pr.new/@ant-design/pro-utils@9031

commit: 3814da5

@chenshuai2144
Copy link
Contributor

测试用例挂了,看看

@CodeYHJ
Copy link
Contributor Author

CodeYHJ commented Feb 27, 2025

测试用例挂了,看看

我尝试本地跑测试用例,但没有复现这个Error。我的commit也没有关于这类的调整呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants