IgniteUI / igniteui-angular-wrappers

Ignite UI Angular component extensions by Infragistics
http://igniteui.github.io/igniteui-angular-wrappers
MIT License
148 stars 30 forks source link

Missing typings for Doughnut Chart #271

Closed IvayloG closed 6 years ago

IvayloG commented 6 years ago

Missing typings for Doughnut Chart in index.d.ts

  1. Use the Igniteui-CLI to create angular ts(igniteui-angular-wrappers) project via the wizard and add a Doughnut Chart.
  2. Complete and run..

Result

Chart is rendered with: error TS2304: Cannot find name 'IgDoughnutChart'. ... ./src/app/components/doughnut-chart/doughnut-chart.component.ts

Expected result

To find the typing and run as expected without errors.

Attachments

image

skrustev commented 6 years ago

It seems that the parsing of the Doughnut Chart when generating the index.d.ts file fails because the locale is put inside the source file.

@gmurray81 I assume you would know if it is possible to not have the locale there and somewhere separate?

I will look if it is possible to alter the parser to read it without thinking that the file ended with the end of the locale part.

dkamburov commented 6 years ago

Resolved with the latest version of the @types/ignite-ui (18.1.1)