Use interface prop return type is any
Version
3.1.4
Reproduction link
Steps to reproduce
import { defineComponent } from 'vue';
interface Prop {
icon: string;
}
export default defineComponent({
props: ['icon'],
setup(props: Prop) {
return () => (
<div>
<button />
</div>
);
},
});