apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
59.64k stars 19.57k forks source link

[Bug] Option 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. #18396

Closed jahnli closed 3 days ago

jahnli commented 1 year ago

Version

lastet

Link to Minimal Reproduction

No response

Steps to Reproduce

update typescript 5.0.2

Current Behavior

Option 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.

Expected Behavior

fix

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

realmx commented 1 year ago

the same error as you

plainheart commented 3 days ago

ECharts uses a fixed typescript version 4.4 rather than 5.0 for development.