We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74122c1 commit b51b57aCopy full SHA for b51b57a
src/types/index.d.ts
@@ -3742,13 +3742,16 @@ export type ScaleChartOptions<TType extends ChartType = ChartType> = {
3742
};
3743
3744
3745
-export type ChartOptions<TType extends ChartType = ChartType> = DeepPartial<
+export type ChartOptions<TType extends ChartType = ChartType> = Exclude<
3746
+DeepPartial<
3747
CoreChartOptions<TType> &
3748
ElementChartOptions<TType> &
3749
PluginChartOptions<TType> &
3750
DatasetChartOptions<TType> &
3751
ScaleChartOptions<TType> &
3752
ChartTypeRegistry[TType]['chartOptions']
3753
+>,
3754
+DeepPartial<unknown[]>
3755
>;
3756
3757
export type DefaultDataPoint<TType extends ChartType> = DistributiveArray<ChartTypeRegistry[TType]['defaultDataPoint']>;
0 commit comments