fix: i18n t prop type

This commit is contained in:
Zack Spear
2024-05-15 15:14:46 -07:00
committed by Zack Spear
parent 81a6a52d9f
commit 4bfdb66d46
27 changed files with 56 additions and 27 deletions
+2 -1
View File
@@ -1,12 +1,13 @@
<script setup lang="ts">
// eslint-disable vue/no-v-html
import { storeToRefs } from 'pinia';
import type { ComposerTranslation } from 'vue-i18n';
import { useErrorsStore } from '~/store/errors';
import type { ServerStateDataAction } from '~/types/server';
import type { UserProfileLink } from '~/types/userProfile';
defineProps<{ t: any; }>();
defineProps<{ t: ComposerTranslation; }>();
const errorsStore = useErrorsStore();
const { errors } = storeToRefs(errorsStore);