Typing Errors - to update with Highcharts 5
See original GitHub issueI have browsed through #69 and also other related issues, but apparently my webpack still complaints about the missing typings.
ERROR in C:\Repos\Tocco.Orion.Mothership.Cms\node_modules\angular2-highcharts\dist\HighchartsService.d.ts
(3,17): error TS2304: Cannot find name 'HighchartsStatic'.
ERROR in C:\Repos\Tocco.Orion.Mothership.Cms\node_modules\angular2-highcharts\dist\ChartEvent.d.ts
(4,14): error TS2304: Cannot find name 'HighchartsChartObject'.
ERROR in C:\Repos\Tocco.Orion.Mothership.Cms\node_modules\angular2-highcharts\dist\ChartEvent.d.ts
(4,38): error TS2304: Cannot find name 'HighchartsSeriesObject'.
ERROR in C:\Repos\Tocco.Orion.Mothership.Cms\node_modules\angular2-highcharts\dist\ChartEvent.d.ts
(4,63): error TS2304: Cannot find name 'HighchartsPointObject'.
ERROR in C:\Repos\Tocco.Orion.Mothership.Cms\node_modules\angular2-highcharts\dist\ChartEvent.d.ts
(4,87): error TS2304: Cannot find name 'HighchartsAxisObject'.
ERROR in C:\Repos\Tocco.Orion.Mothership.Cms\node_modules\angular2-highcharts\dist\ChartComponent.d.ts
(12,26): error TS2304: Cannot find name 'HighchartsChartObject'.
ERROR in C:\Repos\Tocco.Orion.Mothership.Cms\node_modules\angular2-highcharts\dist\ChartComponent.d.ts
(22,12): error TS2304: Cannot find name 'HighchartsChartObject'.
ERROR in C:\Repos\Tocco.Orion.Mothership.Cms\node_modules\angular2-highcharts\dist\ChartComponent.d.ts
(28,14): error TS2304: Cannot find name 'HighchartsOptions'.
Here is my webpack.config.js
:
var sharedConfig = {
resolve: {
extensions: ['', '.js', '.ts'],
},
output: {
filename: '[name].js',
publicPath: '/dist/' // Webpack dev middleware, if enabled, handles requests for this URL prefix
},
module: {
loaders: [
{ test: /\.ts$/, include: /ClientApp/, loader: 'ts', query: { silent: true } },
{ test: /\.html$/, loader: 'raw' },
{ test: /\.css$/, loader: 'to-string!css' },
{ test: /\.(png|jpg|jpeg|gif|svg)$/, loader: 'file' },
{
test: /\.(sass|scss)$/,
loaders: ['css-to-string-loader', 'css-loader?sourceMap', 'resolve-url', 'sass-loader?sourceMap']
},
{ test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url?limit=10000&minetype=ClientApplication/font-woff" },
{ test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "file" },
]
}
};
I have tried a clean npm install but to no avail. Any pointers? I can provide extra info if needed.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:17 (6 by maintainers)
Top Results From Across the Web
Update highcharts - Highcharts official support forum
I have highchart with version 4.1.5, highstock version 2.1.5. And I try to update them to 8.0.0 and 6.0.3. But I got error....
Read more >Update options after render | Highcharts.com
Update options after render ... Bar chart with 12 bars. ... Chart with buttons to modify options, showing how options can be changed...
Read more >Keyboard navigation breaks after updating chart options in ...
I am using Highcharts version 9.2.2 since I was told there was a bug with the most recent version of heat maps related...
Read more >Error and warning and updating to the latest version - Highcharts
I'm getting this error and warning in my js console (chrome) after upgrading to the latest version. ... requires HighChart 2.0.5.
Read more >Issues with Highcharts Upgrade to 8.2.2
Overload 1 of 2, '(options: Options, callback?: ChartCallbackFunction): Chart', gave the following error. Argument of type '{ height: number ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will upgrade to highcharts 5 soon
angular2-highcharts@0.4.1 just published