From 7776d27268a6aa6d26fd791c4982ab809ccf4e06 Mon Sep 17 00:00:00 2001 From: John Williams Metservice <83933275+jwilliams-met@users.noreply.github.com> Date: Thu, 18 Aug 2022 10:43:46 +1200 Subject: [PATCH] Update index.d.ts (#10579) Allow nulls to be passed to barChart data to allow datasets to spanGaps. --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index c79f19cbe..5d1166113 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -3539,7 +3539,7 @@ export interface ChartTypeRegistry { bar: { chartOptions: BarControllerChartOptions; datasetOptions: BarControllerDatasetOptions; - defaultDataPoint: number; + defaultDataPoint: number | null; metaExtensions: {}; parsedDataType: BarParsedData, scales: keyof CartesianScaleTypeRegistry;