mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Add test for issue 9085 (#9091)
This commit is contained in:
parent
953b23b4ef
commit
927f24a809
12
types/tests/scales/chart_options.ts
Normal file
12
types/tests/scales/chart_options.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { ChartOptions } from '../../index.esm';
|
||||
|
||||
const chartOptions: ChartOptions<'line'> = {
|
||||
scales: {
|
||||
x: {
|
||||
type: 'time',
|
||||
time: {
|
||||
unit: 'year'
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user