refactor: restore SatisfiesExpression

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-04-01 14:04:48 +09:00
parent 5667f0f839
commit f246699f38
7 changed files with 9 additions and 11 deletions

View File

@@ -16,7 +16,7 @@
<script lang="ts" setup>
import { onMounted } 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 { useChartTooltip } from '@/scripts/use-chart-tooltip';
@@ -190,7 +190,7 @@ onMounted(async () => {
categoryPercentage: 0.9,
fill: true,
clip: 8,
}],
}] satisfies ChartDataset[],
},
options: {
aspectRatio: 5,