<template> <view> <slot name="header" :msg="msg"></slot> <slot :num="num"></slot> <slot name="footer" :arr="arr"></slot> </view> </template> <script setup lang='uts'> const msg = ref('foo msg') const num = ref<number>(0) const arr = ref<string[]>(['a', 'b', 'c']) defineSlots<{ header(props : { msg : string }) : any, default(props : { num : number }) : any, footer(props : { arr : string[] }) : any }>() </script>