refactor(i18n): strict type checking for SettingsPage component

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
This commit is contained in:
Fernando Fernández 2023-12-31 00:02:04 +01:00
parent f4db8b86f7
commit 2426a4c547

View File

@ -19,5 +19,7 @@
</template>
<script setup lang="ts">
defineProps<{ pageTitle?: string }>();
import type { messages } from 'vue-i18n';
defineProps<{ pageTitle?: keyof messages }>();
</script>