From f87d0ba5f6bd0915ea72a6cc00f35ae1f0e31896 Mon Sep 17 00:00:00 2001 From: "John R. Pelt" Date: Mon, 11 Jun 2018 12:57:11 -0500 Subject: [PATCH] Fix allowed ExportingContextButton.menuItems types https://api.highcharts.com/highcharts/exporting.buttons.contextButton.menuItems menuItems are allowed to be either string[] | MenuItem[] --- types/highcharts/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/highcharts/index.d.ts b/types/highcharts/index.d.ts index 1434999411..a675bcf084 100644 --- a/types/highcharts/index.d.ts +++ b/types/highcharts/index.d.ts @@ -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