ethant
Posts: 1
Joined: Wed Oct 05, 2022 2:07 am

Drilldown typescript missing

I have a component which is utilizing react highcharts and I'm attempting to get the typing on everything correct and linted according to the recommended typescript rules. One issue is that chart.events.drilldown's DrillupAllCallbackFunction's "this" is not properly defined. It is defined as Chart but that is incorrect as it is missing drilldown properties as defined here https://github.com/highcharts/highchart ... own.ts#L85 such as addSingleSeriesAsDrilldown and applyDrilldown which has been referenced as a solution such as here: viewtopic.php?t=42340

Version used is 10.0.0 but confirmed missing in 10.2.1 as well. Any help is appreciated.
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Drilldown typescript missing

Hello there,

Welcome to our forum and thank you for contacting us!

If there are some missing TypeScript definitions, please report it on our GitHub Issues page. Our TypeScript development team will have a look into that, so you can later watch your topic for any fixes or workarounds.

GitHub Issues: https://github.com/highcharts/highcharts/issues

In case of any other questions regarding Highcharts functionality, please do not hesitate to ask,
Best regards!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Usage”