refactor: restore SatisfiesExpression
This commit is contained in:
parent
5667f0f839
commit
f246699f38
7 changed files with 9 additions and 11 deletions
|
|
@ -15,7 +15,7 @@
|
|||
As this is part of Chart.js's API it makes sense to disable the check here.
|
||||
*/
|
||||
import { onMounted, ref, shallowRef, watch, PropType } from 'vue';
|
||||
import { Chart } from 'chart.js';
|
||||
import { Chart, type ChartDataset } from 'chart.js';
|
||||
import gradient from 'chartjs-plugin-gradient';
|
||||
import * as os from '@/os';
|
||||
import { defaultStore } from '@/store';
|
||||
|
|
@ -165,7 +165,7 @@ const render = () => {
|
|||
fill: x.type === 'area',
|
||||
clip: 8,
|
||||
hidden: !!x.hidden,
|
||||
})),
|
||||
} satisfies ChartDataset)),
|
||||
},
|
||||
options: {
|
||||
aspectRatio: props.aspectRatio || 2.5,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue