diff --git a/src/types/chartTypes.ts b/src/types/chartTypes.ts index a233b52..17fbf82 100644 --- a/src/types/chartTypes.ts +++ b/src/types/chartTypes.ts @@ -22,14 +22,14 @@ export type HexColor = `#${string}`; export type ChartThemeContext = { fill: HexColor[]; other: HexColor }; export type ChartTypeContext = { - [key in string]: ChartThemeContext; - } & { - default: ChartThemeContext; - }; + [key in string]: ChartThemeContext; +} & { + default: ChartThemeContext; +}; export type ChartTheme = { - pie: ChartTypeContext, - bar: ChartTypeContext, - histogram: ChartTypeContext + pie: ChartTypeContext; + bar: ChartTypeContext; + histogram: ChartTypeContext; }; export type FilterCallback = (value: T, index: number, array: T[]) => boolean; @@ -91,4 +91,3 @@ export interface BarChartProps extends Omit { colorTheme?: keyof ChartTheme['bar']; } -