vite build fails with withDefaults and props extending from another interface
Version
3.2.31
Reproduction link
Steps to reproduce
Let vue compile the code
What is expected?
It should compile and run
What is actually happening?
Throwing error
I already raised this in vite https://github.com/vitejs/vite/issues/7343
Please refer to the above issue for screenshot and logs
As a workaround add a property to the extended props:
interface SelectProps extends Props {
_a?: never
}
Hi, good night!
I have the same issue, but is also ignoring when extending more than one interface.
interface OneProps { ... }
interface TwoProps { ... }
interface ThreeProps { ... }
interface MyProps extends OneProps, TwoProps, ThreeProps {};
My two cents,