types: fix types error

This commit is contained in:
kailong321200875
2022-06-09 20:31:51 +08:00
parent d88e051434
commit 586486a68d
5 changed files with 14 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
import type { AppContext } from 'vue'
import type { App } from 'vue'
import { Icon } from './Icon'
export const setupGlobCom = (app: AppContext['app']): void => {
export const setupGlobCom = (app: App<Element>): void => {
app.component('Icon', Icon)
}