gevgeny / angular2-highcharts

:bar_chart: :chart_with_upwards_trend: Highcharts for your Angular project
MIT License
380 stars 113 forks source link

non-module entity and cannot be imported using this construct #246

Closed yogeshpaisode closed 6 years ago

yogeshpaisode commented 6 years ago

Hello,

I am using angular2-highcharts V0.5.5 and while trying to add export functionality I am getting following issue. _nodemodules/@types/highcharts/modules/exporting"' resolves to a non-module entity and cannot be imported using this construct. _/nodemodules/@types/highcharts/modules/offline-exporting"' resolves to a non-module entity and cannot be imported using this construct.

I am importing and enabling Exporting using following steps:

*_import as Highcharts from 'highcharts'; import as HichartsExporting from 'highcharts/modules/exporting'; import as HichartsOfflineExporting from 'highcharts/modules/offline-exporting'; HichartsExporting(Highcharts); HichartsOfflineExporting(Highcharts);_**

Above code block is working with angular2-highcharts V0.4.1 but not with V0.5.5