From 5ff4b4c6cdcc7998c6bbffb318fe69d7d6bf975a Mon Sep 17 00:00:00 2001 From: Juned Chhipa Date: Fri, 25 Oct 2024 22:24:44 +0530 Subject: [PATCH] add missing types --- projects/ng-apexcharts/src/lib/model/apex-types.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/projects/ng-apexcharts/src/lib/model/apex-types.ts b/projects/ng-apexcharts/src/lib/model/apex-types.ts index 1c233d4..c1b5ff0 100644 --- a/projects/ng-apexcharts/src/lib/model/apex-types.ts +++ b/projects/ng-apexcharts/src/lib/model/apex-types.ts @@ -792,7 +792,10 @@ export interface ApexDataLabels { dropShadow?: ApexDropShadow; }; dropShadow?: ApexDropShadow; - formatter?(val: string | number | number[], opts?: any): string | number; + formatter?( + val: string | number | number[], + opts?: any + ): string | number | string[]; } export interface ApexResponsive { @@ -802,7 +805,7 @@ export interface ApexResponsive { type ApexTooltipY = { title?: { - formatter?(seriesName: string): string; + formatter?(seriesName: string, opts?: any): string; }; formatter?(val: number, opts?: any): string; };