defineProps dose not work correctly with TypeScript interface extends
Vue version
3.2.41
Link to minimal reproduction
Steps to reproduce
- go to the SFC
- open the console
- change the version to 3.2.41
- change the PRO or DEV
// then you can see the vue will throw an Warning and props will lost value
What is expected?
hope to retrieve all the props that passed in from its parent component
What is actually happening?
except directly defined in the interface property can be retrieved by props , all other extended interface property cannot retrieved by the props
System Info
Linux KusimeROG 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
edge
Any additional comments?
No response
It works fine in the latest commit because this PR had been merged and not released yet, so not working in 3.2.41 yet.