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