When i try to implement the following plunkr in Angular, i get the following error message.
Property 'series' does not exist on type 'Object'.
http://plnkr.co/edit/OQSFSKisIIWAH0megy4d?p=preview
i've installed "angular2-highcharts": "^0.5.5", and the typing "@types/highcharts": "^5.0.5",
Any help would be appreciated.
 
                        
The the compiler does not know if the property
seriesis present inthis.optionswhen you type it asObject.To overcome this you can either remove the typing for the property (the lazy way out):
Or you can let the compiler infer the type from the object by assigning it directly so
this.optionswill be typed properly:Or define the type of
optionsin an interface: