From 02400ceea3b5f91e87591d1ebc8f16dd4e3cb450 Mon Sep 17 00:00:00 2001 From: Kasper Seweryn Date: Thu, 29 Feb 2024 10:51:34 +0100 Subject: [PATCH] fix(types): resolve vuex and typescript >5 errors Part-of: --- front/package.json | 1 + front/src/components/common/HumanDate.vue | 3 +- front/src/shims-vue.d.ts | 8 ++ front/src/types.ts | 2 +- front/tsconfig.json | 10 +-- front/yarn.lock | 102 ++++++++++++++++++++-- 6 files changed, 111 insertions(+), 15 deletions(-) diff --git a/front/package.json b/front/package.json index b06578a40..5900b1357 100644 --- a/front/package.json +++ b/front/package.json @@ -95,6 +95,7 @@ "jsonc-eslint-parser": "2.4.0", "msw": "2.2.1", "msw-auto-mock": "0.18.0", + "patch-package": "8.0.0", "rollup-plugin-visualizer": "5.9.0", "sass": "1.57.1", "sinon": "15.0.2", diff --git a/front/src/components/common/HumanDate.vue b/front/src/components/common/HumanDate.vue index 881762aba..e870ad4ae 100644 --- a/front/src/components/common/HumanDate.vue +++ b/front/src/components/common/HumanDate.vue @@ -13,13 +13,14 @@ const props = withDefaults(defineProps(), { }) const date = computed(() => new Date(props.date)) + // TODO (wvffle): Translate useTimeAgo const realDate = useTimeAgo(date)