Skip to content

Commit 58a7df3

Browse files
committed
chore: fix eslint
1 parent 9e37b65 commit 58a7df3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/pages/login/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script setup lang="ts">
2-
import { type RouteMap, useRouter } from 'vue-router'
2+
import { useRouter } from 'vue-router'
3+
import type { RouteMap } from 'vue-router'
34
import { useUserStore } from '@/stores'
45
56
import logo from '~/images/logo.svg'

src/types/auto-imports.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ declare global {
157157
const useCloned: typeof import('@vueuse/core')['useCloned']
158158
const useColorMode: typeof import('@vueuse/core')['useColorMode']
159159
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
160+
const useCountdown: typeof import('@vueuse/core')['useCountdown']
160161
const useCounter: typeof import('@vueuse/core')['useCounter']
161162
const useCssModule: typeof import('vue')['useCssModule']
162163
const useCssVar: typeof import('@vueuse/core')['useCssVar']

src/utils/i18n.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { createI18n } from 'vue-i18n'
22
import enUS from 'vant/es/locale/lang/en-US'
33
import zhCN from 'vant/es/locale/lang/zh-CN'
4-
import { Locale, type PickerColumn } from 'vant'
4+
import { Locale } from 'vant'
5+
import type { PickerColumn } from 'vant'
56

67
const FALLBACK_LOCALE = 'zh-CN'
78

0 commit comments

Comments
 (0)