From 927f24a809834100c138dc70cffd9e9b920478a5 Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Fri, 14 May 2021 16:58:02 -0400 Subject: [PATCH] Add test for issue 9085 (#9091) --- types/tests/scales/chart_options.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 types/tests/scales/chart_options.ts 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' + } + }, + } +}; -- 2.47.3