[Bug] Missed type property for Typescript on EChartsOption
Open
bug
en
pending
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.5.1
### Link to Minimal Reproduction
https://codesandbox.io/p/sandbox/fervent-euclid-kkws7t?file=%2Fsrc%2Findex.ts%3A3%2C23
### Steps to Reproduce
1. Use base example
2. Use property `option.xAxis.data` in option: EChartsOption with Typescript
### Current Behavior
I have error for use property data in option: EChartsOption
`Property 'data' does not exist on type 'XAXisOption | XAXisOption[]'.`
### Expected Behavior
Types for EChartsOption correct with all options.
Contributor guide
Assessment
This issue has not been assessed yet.