vasturiano / timelines-chart

Timelines Chart
http://vasturiano.github.io/timelines-chart/example/categorical/
MIT License
556 stars 121 forks source link

TypeScript error TS2456: Type alias circularly references itself #80

Closed qanh96 closed 4 years ago

qanh96 commented 4 years ago

Thanks for the wonderful work. I'm having a problem when using the version 2.10.0 with Angular. The version 2.8.6 (without TS type def file) works fine.

109 type TimelinesChartInstance = TimelinesChartGenericInstance;

vasturiano commented 4 years ago

@qanh96 you should update TS to at least 3.7. https://devblogs.microsoft.com/typescript/announcing-typescript-3-7-rc/#more-recursive-type-aliases