Closed JakobMadsen717 closed 1 year ago
What is the version of echarts?
The version that gives compilation errors is ngx-echarts version 16.1.0. If I revert to ngx-echarts version 16.0.0 there are no compilation errors.
I mean the ECharts version. Maybe you can update echarts to v5.4.3?
Oh, sorry, misunderstood, I am using echarts@5.4.3
Thank you. Can you try this ngx-echarts@16.1.1-alpha.1
patch?
Yes, that works like a charm. It compiles fine, and my charts look great. Thanks xieziyu, I will use 16.1.1 when it gets released.
Great to know. 16.1.1 is released. I will close this.
Same error here, using versions "echarts": "^5.4.1" and "ngx-echarts": "^15.0.3",
Angular CLI: 15.2.10 Node: 16.14.2 Package Manager: npm 8.5.0 OS: win32 x64
Package Version @angular-devkit/architect 0.1502.10 @angular-devkit/build-angular 15.2.10 @angular-devkit/core 15.2.10 @angular-devkit/schematics 15.2.10 @angular/cdk 15.2.9 @angular/fire 7.6.1 @angular/material 15.2.9 @angular/material-moment-adapter 15.2.9 @schematics/angular 15.2.10 rxjs 7.8.1 typescript 4.9.5
More information about that.
This only happens having activated strict mode on typescript compilator. If i set "strict": false on tsconfig.json the problem dissapear.
I can create other issue if you prefer.
After updating from 16.0.0 to 16.1.0 I get compilation errors using angular. If I revert to 16.0.0 all works fine.