TypeScript Support
TypeScript Support
import * as Highcharts from 'highcharts';
const options: Highcharts.Options = {
title: {
text: 'TypeScript Example'
},
series: [{
type: 'line',
data: [1, 2, 3, 4, 5]
}]
};
Highcharts.chart('container', options);