Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getOptions function in Chart interface "returns" void #20806

Open
eladzipper96 opened this issue Mar 10, 2024 · 1 comment
Open

getOptions function in Chart interface "returns" void #20806

eladzipper96 opened this issue Mar 10, 2024 · 1 comment
Labels
Product: Highcharts Product: TypeScript Issues & enhancements related to TS/TypeScript Type: Bug

Comments

@eladzipper96
Copy link

eladzipper96 commented Mar 10, 2024

Expected behaviour

getOptions should return partial Options object

Actual behaviour

getOptions is void

Live demo with steps to reproduce

Its a typescript interface issue, can't live demo it, but Ive added an image.
Screenshot 2024-03-10 173206

Product version

11.1

Affected browser(s)

none

@hubertkozik
Copy link
Member

Hi!
Indeed, it shouldn't be a void function. As the description says it returns the current options of the chart.

@hubertkozik hubertkozik added Product: TypeScript Issues & enhancements related to TS/TypeScript Type: Bug Product: Highcharts labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product: Highcharts Product: TypeScript Issues & enhancements related to TS/TypeScript Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants