Skip to content

Commit 764c41a

Browse files
authored
fix(ContextMenu/DropdownMenu): remove any from proxySlots (#3623)
1 parent 2abcc24 commit 764c41a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/runtime/components/ContextMenu.vue

+1-1
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

+1-1
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)