mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Allow the type of HighchartsOptions.yAxis to be HighchartsAxisOptions or HighchartsAxisOptions[].
This commit is contained in:
@@ -135,3 +135,11 @@ var highChartSettings: HighchartsOptions = {
|
||||
var container = $("#container").highcharts(highChartSettings, (chart) => {
|
||||
chart.series[0].setVisible(true, true);
|
||||
});
|
||||
|
||||
|
||||
var singleYAxisOptions: HighchartsOptions = {
|
||||
yAxis: {}
|
||||
};
|
||||
var multipleYAxisOptions: HighchartsOptions = {
|
||||
yAxis: [{},{}]
|
||||
};
|
||||
Vendored
+1
-1
@@ -1169,7 +1169,7 @@ interface HighchartsOptions {
|
||||
title?: HighchartsTitleOptions;
|
||||
tooltip?: HighchartsTooltipOptions;
|
||||
xAxis?: HighchartsAxisOptions;
|
||||
yAxis?: HighchartsAxisOptions;
|
||||
yAxis?: HighchartsAxisOptions|HighchartsAxisOptions[];
|
||||
}
|
||||
|
||||
interface HighchartsGlobalOptions extends HighchartsOptions {
|
||||
|
||||
Reference in New Issue
Block a user