Skip to content

Commit

Permalink
refactor: format index.d.ts to comply with ESLint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
artus9033 committed Aug 16, 2024
1 parent 28a2936 commit fb4aaa5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3741,15 +3741,15 @@ export type ScaleChartOptions<TType extends ChartType = ChartType> = {
};

export type ChartOptions<TType extends ChartType = ChartType> = Exclude<
DeepPartial<
CoreChartOptions<TType> &
ElementChartOptions<TType> &
PluginChartOptions<TType> &
DatasetChartOptions<TType> &
ScaleChartOptions<TType> &
ChartTypeRegistry[TType]['chartOptions']
>,
DeepPartial<unknown[]>
DeepPartial<
CoreChartOptions<TType> &
ElementChartOptions<TType> &
PluginChartOptions<TType> &
DatasetChartOptions<TType> &
ScaleChartOptions<TType> &
ChartTypeRegistry[TType]['chartOptions']
>,
DeepPartial<unknown[]>
>;

export type DefaultDataPoint<TType extends ChartType> = DistributiveArray<ChartTypeRegistry[TType]['defaultDataPoint']>;
Expand Down

0 comments on commit fb4aaa5

Please sign in to comment.