ant-design / ant-design/pro-components
🧐[问题]build报错,使用了EditableProTable, ProCard, ProFormField
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🧐 问题描述
build报错,使用了EditableProTable, ProCard, ProFormField
拷贝了示例里面的代码,tsconfig.json里有"exclude": ["node_modules"],为什么还会解析
### 💻 示例代码
之前typescript:'4.9.5'
升级成5.1.6就好了
### 🚑 其他信息

Contributor guide
Research direction
Start with the reported example using EditableProTable, ProCard, and ProFormField, and inspect tsconfig.json together with the TypeScript versions 4.9.5 and 5.1.6. Reproduce the build failure with the older version and compare the compiler resolution behavior; done means the cause is documented and the example builds as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100