Skip to content

Commit be21a8a

Browse files
chore: fixed icon type issue
1 parent e539236 commit be21a8a

File tree

1 file changed

+4
-3
lines changed
  • typescript-version/src/plugins/vuetify

1 file changed

+4
-3
lines changed

typescript-version/src/plugins/vuetify/icons.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Icon } from '@iconify/vue'
2-
import type { IconAliases, IconProps, IconSet } from 'vuetify'
2+
import type { IconAliases } from 'vuetify'
33

44
const aliases: IconAliases = {
55
collapse: 'bx-chevron-up',
@@ -40,8 +40,9 @@ const aliases: IconAliases = {
4040
sortDesc: 'bx-sort-down',
4141
}
4242

43-
export const iconify: IconSet = {
44-
component: (props: IconProps) => h(Icon, props),
43+
export const iconify = {
44+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
45+
component: (props: any) => h(Icon, props),
4546
}
4647

4748
export const icons = {

0 commit comments

Comments
 (0)