From: Evert Timberg Date: Fri, 14 May 2021 20:58:02 +0000 (-0400) Subject: Add test for issue 9085 (#9091) X-Git-Tag: v3.3.0~18 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=927f24a809834100c138dc70cffd9e9b920478a5;p=thirdparty%2FChart.js.git Add test for issue 9085 (#9091) --- diff --git a/types/tests/scales/chart_options.ts b/types/tests/scales/chart_options.ts new file mode 100644 index 000000000..a0b02d79a --- /dev/null +++ b/types/tests/scales/chart_options.ts @@ -0,0 +1,12 @@ +import { ChartOptions } from '../../index.esm'; + +const chartOptions: ChartOptions<'line'> = { + scales: { + x: { + type: 'time', + time: { + unit: 'year' + } + }, + } +};