Skip to content

Commit e0d30c2

Browse files
Norbirosrdjanuar
authored andcommitted
fix(ContextMenu/DropdownMenu): remove any from proxySlots (nuxt#3623)
1 parent e14c1d0 commit e0d30c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/runtime/components/ContextMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const ui = computed(() => contextMenu({
140140
:loading-icon="loadingIcon"
141141
:external-icon="externalIcon"
142142
>
143-
<template v-for="(_, name) in proxySlots" #[name]="slotData: any">
143+
<template v-for="(_, name) in proxySlots" #[name]="slotData">
144144
<slot :name="name" v-bind="slotData" />
145145
</template>
146146
</UContextMenuContent>

src/runtime/components/DropdownMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const ui = computed(() => dropdownMenu({
150150
:loading-icon="loadingIcon"
151151
:external-icon="externalIcon"
152152
>
153-
<template v-for="(_, name) in proxySlots" #[name]="slotData: any">
153+
<template v-for="(_, name) in proxySlots" #[name]="slotData">
154154
<slot :name="name" v-bind="slotData" />
155155
</template>
156156

0 commit comments

Comments
 (0)