David Matter
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.
Right, props don't seem to be mapped
**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?
What are you using to generate the JSDoc?
~~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~~
You're right - this should work