refactor: restore SatisfiesExpression

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-01 14:04:48 +09:00
parent 5667f0f839
commit f246699f38
No known key found for this signature in database
GPG key ID: 3E87B98A3F6BAB99
7 changed files with 9 additions and 11 deletions

View file

@ -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,