chore(Toaster): fix ts error

This commit is contained in:
Benjamin Canac
2025-02-20 17:09:18 +01:00
parent 1466a2741d
commit e8c786885b

View File

@@ -109,7 +109,8 @@ function getOffset(index: number) {
v-for="(toast, index) of toasts"
:key="toast.id"
ref="refs"
v-bind="omit(toast, ['id'])"
v-bind="omit(toast, ['id', 'close'])"
:close="(toast.close as boolean)"
:data-expanded="expanded"
:data-front="!expanded && index === toasts.length - 1"
:style="{