diff --git a/src/runtime/components/Toaster.vue b/src/runtime/components/Toaster.vue index 9521bb22de..9f12ab7aa5 100644 --- a/src/runtime/components/Toaster.vue +++ b/src/runtime/components/Toaster.vue @@ -110,7 +110,7 @@ function getOffset(index: number) { :key="toast.id" ref="refs" v-bind="omit(toast, ['id', 'close'])" - :close="toast.close" + :close="(toast.close as boolean)" :data-expanded="expanded" :data-front="!expanded && index === toasts.length - 1" :style="{