fix(ContextMenu/DropdownMenu): remove any from proxySlots (#3623)

This commit is contained in:
Norbiros
2025-03-19 22:03:09 +01:00
committed by GitHub
parent 2abcc24018
commit 764c41a0c6
2 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ const ui = computed(() => contextMenu({
:loading-icon="loadingIcon"
:external-icon="externalIcon"
>
<template v-for="(_, name) in proxySlots" #[name]="slotData: any">
<template v-for="(_, name) in proxySlots" #[name]="slotData">
<slot :name="name" v-bind="slotData" />
</template>
</UContextMenuContent>

View File

@@ -150,7 +150,7 @@ const ui = computed(() => dropdownMenu({
:loading-icon="loadingIcon"
:external-icon="externalIcon"
>
<template v-for="(_, name) in proxySlots" #[name]="slotData: any">
<template v-for="(_, name) in proxySlots" #[name]="slotData">
<slot :name="name" v-bind="slotData" />
</template>