From bb0b7162c8068a31ae45d76f7d5564cbf34d00cb Mon Sep 17 00:00:00 2001 From: kernoeb Date: Thu, 20 Nov 2025 20:32:56 +0100 Subject: [PATCH] fix: type prop in VueApexCharts typings Updated the 'type' prop to use NonNullable['type'] for improved type safety and maintainability. --- typings/vue-apexcharts.d.ts | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/typings/vue-apexcharts.d.ts b/typings/vue-apexcharts.d.ts index 18bcfb9..908616f 100644 --- a/typings/vue-apexcharts.d.ts +++ b/typings/vue-apexcharts.d.ts @@ -6,21 +6,7 @@ export interface VueApexChartsComponentProps { readonly chart?: ApexCharts; // props options?: ApexOptions; - type?: - | "line" - | "area" - | "bar" - | "histogram" - | "pie" - | "donut" - | "radialBar" - | "rangeBar" - | "scatter" - | "bubble" - | "heatmap" - | "candlestick" - | "radar" - | "polarArea"; + type?: NonNullable['type']; series: any; width?: string | number; height?: string | number;