mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-05 14:48:03 +01:00
chore(VerticalNavigation): improve types import
This commit is contained in:
@@ -46,7 +46,7 @@ import UIcon from '../elements/Icon.vue'
|
|||||||
import UAvatar from '../elements/Avatar.vue'
|
import UAvatar from '../elements/Avatar.vue'
|
||||||
import ULinkCustom from '../elements/LinkCustom.vue'
|
import ULinkCustom from '../elements/LinkCustom.vue'
|
||||||
import { omit } from '../../utils'
|
import { omit } from '../../utils'
|
||||||
import type { Avatar as AvatarType } from '../../types/avatar'
|
import type { Avatar } from '../../types/avatar'
|
||||||
import { useAppConfig } from '#imports'
|
import { useAppConfig } from '#imports'
|
||||||
// TODO: Remove
|
// TODO: Remove
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
@@ -68,7 +68,7 @@ export default defineComponent({
|
|||||||
label: string
|
label: string
|
||||||
icon?: string
|
icon?: string
|
||||||
iconClass?: string
|
iconClass?: string
|
||||||
avatar?: Partial<AvatarType>
|
avatar?: Partial<Avatar>
|
||||||
click?: Function
|
click?: Function
|
||||||
badge?: string | number
|
badge?: string | number
|
||||||
}[]>,
|
}[]>,
|
||||||
|
|||||||
Reference in New Issue
Block a user