I have a question about using a render function inside a setup function. Specifically, I am curious about the type of props
within the scope of setup
.
import { h, PropType } from 'vue'
export default {
props: {
brand: {
type: Object as PropType<String>
}
},
setup(props) {
/* Looking to determine the props argument type */
const count = ref()
return () => h('div', props.msg + count.value)
}
}