src/plugins/index.ts:17:3 - error TS2345: Argument of type '[]' is not assignable to parameter of type '[ctx: Omit<{ attrs: Data; slots: Readonly<InternalSlots>; emit: (event: string, ...args: any[]) => void; expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void; }, "expose">]'. Source has 0 element(s) but target requires 1. export function registerPlugins (app: App) { app.use(VueApexCharts) Workaround is to remove the .use(VueApexCharts) and import it into the specific Vue component where it's needed