You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm starting to think, is this supposed to be a private property (because it's not exposed in the docs)? If it is, might still wanna add in the type definitions too as private.
The text was updated successfully, but these errors were encountered:
@TorsteinHonsi Yes, my approach can definitely be changed. I was just thinking since it's there in the code, I just thought it was publicly available. So basically, if it's not in the docs, it's not meant to be public anyway, so it doesn't have the typing. Is that correct?
Yes, that is our approach. Usually we try to expose as few properties as possible to prevent any future compatibility issues.
Additionally our TypeScript declarations are already huge, so we prefer to keep all private members out of it. I will therefor close this issue with a won't fix label.
Nevertheless feel free to point out missing properties, if there is no way to get them via other properties or functions.
Expected behaviour
I should be able to find the types for
tooltipOptions
in Series Class when using Highcharts in Typescript.Actual behaviour
There isn't any type for
tooltipOptions
in class Series.Also, there isn't one in the docs as well.
In the code, it seems to be there (CMIIW): https://github.com/highcharts/highcharts/blame/master/js/parts/Series.js#L2738
Live demo with steps to reproduce
Hover on any of the tooltips and see the console tab:
https://jsfiddle.net/eqw9ztvm/
Product version
I'm using Highcharts v7.1.1
Affected browser(s)
None
Note
I'm starting to think, is this supposed to be a private property (because it's not exposed in the docs)? If it is, might still wanna add in the type definitions too as private.
The text was updated successfully, but these errors were encountered: