-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Highcharts.SeriesPieOptions is missing with 11.4.1 #20986
Comments
We get error on compile, so it's not an editor issue. All we have is this import (to use ESM)
Then in our code:
This is the error:
|
I can add this to our code:
Then use this new type alias instead:
This compiles but seems like a workaround and not proper way of doing it? Just want to confirm it. |
Hello @rbirkgit, Thank you for the details. I need more information to have a chance of reproducing the issue. Please provide the content of all You can also take a look at this working project https://github.com/bre1470/testproject-es6 and compare it with your configuration. |
Thanks for the short sample. It all works fine there (adding our code). I now see what is going on. Our code imported Highcharts in the main file. Then imported data from a model file. That model file didn't import Highcharts itself. It somehow worked anyway for the code and types including other series. But not the Adding the import of Highcharts at the top of the model file, the code compiles now without workarounds. |
I should be all set. Thanks for quick help! |
Thank you for sharing your solution. Wonderful that it works now. I will close the issue as solved. Feel free to comment further if needed. Internal: FYI @hubertkozik . |
Expected behaviour
No error building
Actual behaviour
We updated HIghcharts from 11.4.0 to 11.4.1 and with that we started getting error that
Highcharts.SeriesPieOptions
is not defined.Live demo with steps to reproduce
This is how we import Highcharts with 11.4.0
Product version
11.4.1
Affected browser(s)
The text was updated successfully, but these errors were encountered: