In accordance with the old function RFC, Vue3 is set to support TypeScript-only props typing. However, when I tested the following code, it appears not to be working as expected and Props are returning as undefined.
interface MessageProps {
msg: string;
list: any[];
}
export default defineComponent({
name: 'HelloWorld',
setup(props: MessageProps) {
console.log(props)
}
})