types: fix type error
parent
a4526d7cb4
commit
d66f12e0e7
@ -1,6 +1,6 @@
|
|||||||
// import type { App } from 'vue'
|
import type { AppContext } from 'vue'
|
||||||
import { Icon } from './Icon'
|
import { Icon } from './Icon'
|
||||||
|
|
||||||
export const setupGlobCom = (app: any): void => {
|
export const setupGlobCom = (app: AppContext['app']): void => {
|
||||||
app.component('Icon', Icon)
|
app.component('Icon', Icon)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue