Fix allowed ExportingContextButton.menuItems types

https://api.highcharts.com/highcharts/exporting.buttons.contextButton.menuItems menuItems are allowed to be either string[] | MenuItem[]
This commit is contained in:
John R. Pelt
2018-06-11 12:57:11 -05:00
committed by GitHub
parent 68ad466898
commit f87d0ba5f6
+1 -1
View File
@@ -2354,7 +2354,7 @@ declare namespace Highcharts {
* can be customized by defining a new array of items and assigning null to unwanted positions.
* @since 2.0
*/
menuItems?: MenuItem[];
menuItems?: string[] | MenuItem[];
/**
* A click handler callback to use on the button directly instead of the popup menu.
* @since 2.0