Skip to content

[Bug] Duplicated type declarations in dist type files #19663

@Justineo

Description

@Justineo

Version

5.5.0

Link to Minimal Reproduction

https://www.npmjs.com/package/echarts?activeTab=code

Steps to Reproduce

Look at types/dist/echarts.d.ts and types/dist/shared.d.ts.

Current Behavior

They are almost the same.

Expected Behavior

Shouldn't produce duplicated type declarations.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

This seems to lead to problems like ecomfe/vue-echarts#766.

Metadata

Metadata

Assignees

Labels

bugenThis issue is in English

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions