mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: fix icons type
This commit is contained in:
parent
c3af67e0ac
commit
dd777aa457
4
src/components.d.ts
vendored
4
src/components.d.ts
vendored
@ -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 {}
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user