types: fix type error

This commit is contained in:
ckl1
2022-06-06 11:15:31 +08:00
parent a4526d7cb4
commit d66f12e0e7
5 changed files with 14 additions and 14 deletions

View File

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