How can I import ApexAxisChartSeries in TypeScript? #5032
Unanswered
hasan-rayan
asked this question in
Q&A
Replies: 1 comment
-
|
The only way to (almost) reach your goal: import type { ApexOptions } from 'apexcharts';
const series: ApexOptions['series'] = [ /*...*/ ]It's really uncommon to define such types in your project an decide not to export those. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working with ApexCharts in a Vue+TypeScript project and want to define a variable using the
ApexAxisChartSeriestype. However, it seems like this type isn't exported directly from theapexchartspackage.How should I correctly import or reference this type in my code?
Beta Was this translation helpful? Give feedback.
All reactions