diff --git a/packages/frontend/src/components/MkChart.vue b/packages/frontend/src/components/MkChart.vue index 06d5b9949..3865b2919 100644 --- a/packages/frontend/src/components/MkChart.vue +++ b/packages/frontend/src/components/MkChart.vue @@ -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, diff --git a/packages/frontend/src/pages/admin/overview.active-users.vue b/packages/frontend/src/pages/admin/overview.active-users.vue index fc10ad75f..a76f2e073 100644 --- a/packages/frontend/src/pages/admin/overview.active-users.vue +++ b/packages/frontend/src/pages/admin/overview.active-users.vue @@ -9,7 +9,7 @@