ant-design / ant-design/pro-components

🧐[问题]build报错,使用了EditableProTable, ProCard, ProFormField

Open
#8,291 1 comment 0 reactions 0 assignees View on GitHub
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就好了

### 🚑 其他信息
![0505ff0fd0c3aaf210ed00265865148](https://github.com/ant-design/pro-components/assets/45223166/ca17eb45-1e6c-4eac-941c-8b248f16b149)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.