echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Library need to works with TypeScript >= 5.8.0 (needed for Angular 20)

Open VanceaAlin opened this issue 7 months ago • 10 comments

What problem does this feature solve?

Library need to works with TypeScript >= 5.8.0 (needed for Angular 20). Now library use a old verion of ts. This should be priority

What does the proposed API look like?

Update all deps (especially ts)

VanceaAlin avatar Jul 04 '25 13:07 VanceaAlin

I do not have time to make a demo but it's like this: Angular 20 needs min ts version 5.8.0 but echarts lib do not works with this version. @plainheart

VanceaAlin avatar Jul 08 '25 08:07 VanceaAlin

Hello... some news please ? I'm stuck on Angular 19 because of this ...

VanceaAlin avatar Jul 11 '25 07:07 VanceaAlin

any plans to update deps ?

VanceaAlin avatar Jul 16 '25 19:07 VanceaAlin

I do not have time to make a demo but it's like this: Angular 20 needs min ts version 5.8.0 but echarts lib do not works with this version. @plainheart

same here, angular 20 uses esnext and the method for exporting echarts isn't supported

BoituXZ avatar Jul 23 '25 09:07 BoituXZ

I saw that they released 6.0 rc.2 but still TypeScript is not updated ...still 4.4.3 version. @plainheart can we have a TypeScript upgrade please ? for compatibility with Angular 20

VanceaAlin avatar Jul 25 '25 09:07 VanceaAlin

Couldn't find time to make a demo, I will later on once I'm done with my current project. Ended up going for chart.js while they figure out stuff

BoituXZ avatar Jul 25 '25 11:07 BoituXZ

@plainheart -- when will be fixed this problem ?

Application bundle generation failed. [22.278 seconds]

X [ERROR] TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead. [plugin angular-compiler]

node_modules/echarts/index.d.ts:23:0:
  23 │ export = echarts;
     ╵ ~~~~~~~~~~~~~~~~~

VanceaAlin avatar Aug 07 '25 09:08 VanceaAlin

any plans to update deps ?

@plainheart

VanceaAlin avatar Aug 20 '25 08:08 VanceaAlin

I am also facing same issue and because of this not able to upgrade the application to angular20, Can we get any compatible version?

sushilchaurasia1990 avatar Nov 17 '25 11:11 sushilchaurasia1990

@VanceaAlin Please provide a demo for the issue either with Official Editor, CodePen, CodeSandbox or JSFiddle.

echarts-bot[bot] avatar Nov 17 '25 13:11 echarts-bot[bot]