fix: fix icons type

This commit is contained in:
pipipi-pikachu 2023-09-07 22:02:49 +08:00
parent c3af67e0ac
commit dd777aa457
2 changed files with 3 additions and 3 deletions

4
src/components.d.ts vendored
View File

@ -1,7 +1,7 @@
import { icons } from '@/plugins/icon' import type { Icons } from '@/plugins/icon'
declare module 'vue' { declare module 'vue' {
export type GlobalComponents = typeof icons export type GlobalComponents = Icons
} }
export {} export {}

View File

@ -118,7 +118,7 @@ import {
Right, Right,
} from '@icon-park/vue-next' } from '@icon-park/vue-next'
interface Icons { export interface Icons {
[key: string]: typeof PlayOne [key: string]: typeof PlayOne
} }