From f16c272eaa232d7982f0667fdb1c0f0ccd47a92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B0=D0=B5=D0=B2=20=D0=95=D0=B2=D0=B3=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B9?= Date: Wed, 17 May 2023 16:55:57 +0300 Subject: [PATCH] fix(Highcharts plugin): add metaKey property to SeriesClickEventObject type --- src/plugins/highcharts/types/highcharts-extends.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/highcharts/types/highcharts-extends.d.ts b/src/plugins/highcharts/types/highcharts-extends.d.ts index 946ff21b..d80d2a9b 100644 --- a/src/plugins/highcharts/types/highcharts-extends.d.ts +++ b/src/plugins/highcharts/types/highcharts-extends.d.ts @@ -44,4 +44,9 @@ declare module 'highcharts' { baseSeries?: Series; navigatorSeries?: Series; } + + interface SeriesClickEventObject { + // https://github.com/highcharts/highcharts/blob/818eb62b9d1a0efc3c9ec705e95b13849e2040fa/ts/Core/Series/Series.ts#L5039 + metaKey?: boolean; + } }