Skip to content

Commit 4a9ad95

Browse files
committed
fix: use type import to prevent error
1 parent c3fd2d4 commit 4a9ad95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pages/admin/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</template>
1818

1919
<script setup lang="ts">
20-
import { Composer } from "vue-i18n";
20+
import { type Composer } from "vue-i18n";
2121
import { getAuthorizedUserID, logout } from "~/lib/auth";
2222
2323
const i18n: Composer = useI18n();

pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</template>
3131

3232
<script setup lang="ts">
33-
import { Composer } from "vue-i18n";
33+
import { type Composer } from "vue-i18n";
3434
3535
const i18n: Composer = useI18n();
3636
const localeRoute = useLocaleRoute();

0 commit comments

Comments
 (0)