From: John Williams Metservice <83933275+jwilliams-met@users.noreply.github.com> Date: Wed, 17 Aug 2022 22:43:46 +0000 (+1200) Subject: Update index.d.ts (#10579) X-Git-Tag: v4.0.0~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7776d27268a6aa6d26fd791c4982ab809ccf4e06;p=thirdparty%2FChart.js.git Update index.d.ts (#10579) Allow nulls to be passed to barChart data to allow datasets to spanGaps. --- 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;