New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typescript >= 3 support #420
Comments
@AndrewK15 TypeScript 3.0 has a bunch of breaking changes. We're working on making AmCharts 4 compatible with TypeScript 3.0, but in the meantime we recommend downgrading to 2.x |
@Pauan any news on this? |
Today I also upgraded to angular 7 and typescript 3.1.3. With amcharts 4.0.0-beta.63 problem still exists. |
can confirm @erichstark, have the same problem |
While working on TypeScript 3.0 support, we noticed that TypeScript 3.0 causes major slowdowns for compile times. We're working on creating a reduced test case so we can submit it to the TypeScript dev team. |
@Pauan do you have an estimated timeframe on when the compile issues will be fixed, irrespective of the slowdown issue? |
Temporary solution: |
@billfranklin We've already fixed all the issues, but we can't release it until the major slowdown is fixed. @dellax That's great! It must be a new option, I don't remember it existing before. |
@Pauan did the update from 4 days ago fix this? It seems it might be related to slowdown issues in projects with many source files microsoft/TypeScript#28025 |
@dellax genius! |
@billfranklin Unfortunately, I don't think it fixed it. However, I submitted a bug report to the TypeScript team and they're looking into it. |
@Pauan, at least they have a workaround from the looks of it? |
Yeah, there's a workaround posted in the thread and a fix committed to |
Check out TypeScript 3.1.6 for the fix. |
Sorry, not 3.1.6; someone linked to a separate issue which is addresed in 3.1.6. |
Good news! The next release of AmCharts will include TypeScript 3.0 support. We hope to have it out by tomorrow, but we can't promise that. |
Fixed in 4.0.0-beta.72. [4.0.0-beta.72] - 2018-11-03Changed
Fixed
Make sure you clear your browser cache after upgrading. And feel free to contact us again if you are still experiencing this issue. |
I'm getting these errors when trying to use amchartsv4 (4.0.0-beta.55) in angular7.rc0 + typescript 3.1.1.
Does it mean amcharts do not support typescript v3 at the moment and I should downgrade?
The text was updated successfully, but these errors were encountered: