highcharts / highcharts-vue

Other
686 stars 150 forks source link

Parameter 'createElement' implicitly has an 'any' type. #84

Closed breathcold closed 5 years ago

breathcold commented 5 years ago

image file----> highcharts-vue.d.ts export class Chart extends _Vue { props: ChartPropsObject; template: string; watch: ChartWatchObject; beforeDestroy: () => void; mounted: () => void; render: (createElement) => VNode; }

i changed it like this: export class Chart extends _Vue { props: ChartPropsObject; template: string; watch: ChartWatchObject; beforeDestroy: () => void; mounted: () => void; render: (createElement: Element) => VNode; }

and then image works ! can update to fix this bug?

Denyllon commented 5 years ago

Hi @breathcold ,

It is already fixed in https://github.com/highcharts/highcharts-vue/pull/82, and will be published on npm this week.

Kind regards!