David Matter

Results 93 comments of David Matter

Would you please share the component's source as text?

Can't reproduce. Please create a minimal example project that we can look into. Also seems more likely to be a tsconfig related issue.

**Input** ```vue ``` **Output** ```ts // ... if (true) { __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({}); } if (true) { __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({}); } if (true) { __VLS_elementAsFunction(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({key: ((__VLS_ctx.)), }); // @ts-ignore [,]; }...

Does it work if you select the workspace's TS version here?

Can't reproduce in 2.0.28. Is this still an issue for you?

~~Same as https://github.com/vuejs/language-tools/issues/4632 and https://github.com/vuejs/language-tools/issues/4611~~

~~You shouldn't export types from vue components. Just export them from normal ts files. That will resolve this issue~~