apache / apache/echarts

[Bug] Multiple problems with exported types

Open
#20,489 0 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
15h 17m
Merged PRs (30d)
5

Description

### Version

5.5.1

### Link to Minimal Reproduction

https://arethetypeswrong.github.io/?p=echarts%405.5.1

### Steps to Reproduce

1. Go to https://arethetypeswrong.github.io/?p=echarts%405.5.1 to run tests analyzing the exports of echarts.

### Current Behavior

No errors

### Expected Behavior

Several errors reported which may cause problems for some consumers. Here's a subset:

image

### Environment

```markdown
- OS: All
- Browser: All
- Framework: All
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked arethetypeswrong.github.io reproduction for echarts@5.5.1 and review the reported export-type errors. Trace those errors through ECharts' TypeScript export declarations; the work is done when the analyzer no longer reports the identified problems.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.