then vue-tsc works perfectly in v0.1.4 but started failing in v0.1.5 with:
$ vue-tsc --noEmit
src/components/HelloWorld.vue:3:6 - error TS2345: Argument of type '{ is: VNode<RendererNode, RendererElement, { [key: string]: any; }>; }' is not assignable to parameter of type '{ is: VNode<RendererNode, RendererElement, { [key: string]: any; }>; } & VNode<RendererNode, RendererElement, { ...; }>'.
Type '{ is: VNode<RendererNode, RendererElement, { [key: string]: any; }>; }' is missing the following properties from type 'VNode<RendererNode, RendererElement, { [key: string]: any; }>': type, props, key, ref, and 19 more.
3 <component :is="Component" />
~~~~~~~~~
When using:
with:
then
vue-tsc
works perfectly in v0.1.4 but started failing in v0.1.5 with:This happened on all our Vue 3 projects when bumping to v0.1.5. I made a small repro if that helps https://github.com/cexbrayat/vue-cli-playground/pull/10
Thank you for your work on volar @johnsoncodehk !