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

Add export for types in apexcharts.d.ts #4765

Open
masterworgen opened this issue Oct 15, 2024 · 1 comment
Open

Add export for types in apexcharts.d.ts #4765

masterworgen opened this issue Oct 15, 2024 · 1 comment
Labels
feature-request New feature or request

Comments

@masterworgen
Copy link

masterworgen commented Oct 15, 2024

Can you add export for types in file apexcharts.d.ts, we can trying add custom locale for global component in vue, but we cant import ApexChart.
https://github.com/apexcharts/apexcharts.js/blob/main/types/apexcharts.d.ts

Yes, i see this PR DefinitelyTyped/DefinitelyTyped#28733, but it was closed, not merge ;(

@masterworgen masterworgen added the feature-request New feature or request label Oct 15, 2024
@milkstork-kevin
Copy link

I'd just like to request that we also export ApexDropShadow (or heck, just export all the types). I'm getting this error when using ng-apexcharts:

✖ Compiling with Angular sources in Ivy partial compilation mode.
error TS4041: Return type of public getter 'plotOptions' from exported class has or is using name 'ApexDropShadow' from external module "node_modules/ng-apexcharts/lib/model/apex-types" but cannot be named.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants
@masterworgen @milkstork-kevin and others