Update index.d.ts (#10579)

Allow nulls to be passed to barChart data to allow datasets to spanGaps.
This commit is contained in:
John Williams Metservice
2022-08-18 10:43:46 +12:00
committed by GitHub
parent d1686fb6cc
commit 7776d27268

2
types/index.d.ts vendored
View File

@@ -3539,7 +3539,7 @@ export interface ChartTypeRegistry {
bar: {
chartOptions: BarControllerChartOptions;
datasetOptions: BarControllerDatasetOptions;
defaultDataPoint: number;
defaultDataPoint: number | null;
metaExtensions: {};
parsedDataType: BarParsedData,
scales: keyof CartesianScaleTypeRegistry;