From e3b0147a519a6589fa4f168f7f664a6e67a38ad5 Mon Sep 17 00:00:00 2001 From: Pavel Kuzmin Date: Fri, 18 Oct 2024 00:02:00 +0500 Subject: [PATCH] fix: types --- src/runtime/components/i18n-switcher.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/runtime/components/i18n-switcher.vue b/src/runtime/components/i18n-switcher.vue index 26f99dc0..4cf97314 100644 --- a/src/runtime/components/i18n-switcher.vue +++ b/src/runtime/components/i18n-switcher.vue @@ -36,12 +36,7 @@ import { ref, computed } from 'vue' import type { CSSProperties } from 'vue' import { useNuxtApp } from '#app' import { useRoute } from '#imports' - -interface Locale { - code: string - iso?: string - dir?: 'rtl' | 'ltr' -} +import type { Locale } from '~/src/types' interface Props { customLabels?: Record