Validator in props break props typing
Version
2.6.11
Reproduction link
https://codesandbox.io/s/mystifying-wozniak-ny5vg?file=/src/components/Test.vue
Steps to reproduce
- Use the examples in the official documentation. https://github.com/vuejs/docs-next/blob/master/src/guide/typescript-support.md
- Add setup to handle some things.
- Can't get correct props attribute inference on function parameter props.
What is expected?
Able to infer the properties of props
What is actually happening?
Can't get correct props attribute inference on function parameter props.
Duplicate of https://github.com/vuejs/vue-next/issues/2474