ts emits return any
Version
3.2.4
Reproduction link
Steps to reproduce
const Test= defineComponent({
emits: { close: Function as (value: string) => void },
setup(props, { emit }) {
return <div></div>;
},
});
export default defineComponent({
setup() {
return () => <Test onClose={() => {}} />;
},
});
What is expected?
What is actually happening?
Inconsistent return types