/// declare module '*.vue' { import type { DefineComponent } from 'vue'; const component: DefineComponent, Record, unknown>; export default component; } // vue3-apexcharts registers globally via app.use() (main.ts); this // lets template type-checking (vue-tsc) resolve the tag instead of erroring // on an unknown component. import type { VueApexChartsComponentProps } from 'vue3-apexcharts'; declare module '@vue/runtime-core' { export interface GlobalComponents { apexchart: import('vue').DefineComponent; } }