From e7a15b5604e40313401b06204f708042927f94a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Sat, 1 Apr 2023 17:58:44 +0900 Subject: [PATCH] revert: restore `SatisfiesExpression` This reverts commit f246699f38a28befbfccc11e9eade22cbaace4f3. --- packages/frontend/src/components/MkChart.vue | 4 ++-- packages/frontend/src/pages/admin/overview.active-users.vue | 4 ++-- packages/frontend/src/pages/admin/overview.ap-requests.vue | 4 ++-- packages/frontend/src/pages/user/activity.following.vue | 2 +- packages/frontend/src/pages/user/activity.notes.vue | 2 +- packages/frontend/src/pages/user/activity.pv.vue | 2 +- packages/frontend/src/scripts/achievements.ts | 2 ++ 7 files changed, 11 insertions(+), 9 deletions(-) diff --git a/packages/frontend/src/components/MkChart.vue b/packages/frontend/src/components/MkChart.vue index 3865b29194..06d5b9949a 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, type ChartDataset } from 'chart.js'; +import { Chart } 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 a76f2e073f..fc10ad75f8 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 @@