Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export types of built-in components #13002

Closed
kingyue737 opened this issue Apr 17, 2023 · 2 comments
Closed

Export types of built-in components #13002

kingyue737 opened this issue Apr 17, 2023 · 2 comments

Comments

@kingyue737
Copy link

What problem does this feature solve?

Vue 2.7 does not export types of built-in components like Transition and TransitionGroup (In Vue 3 they are exported via @vue/runtime-dom). As a consequence, users cannot get intellisense and type check with @vue/language-tools. Furthermore, VSCode will show warning if vueCompilerOptions.jsxTemplates is turned on in tsconfig.

image

Ref: vuejs/language-tools#2540

What does the proposed API look like?

Line 76
https://www.unpkg.com/browse/@vue/runtime-dom@3.2.47/dist/runtime-dom.d.ts

@MoisesF17
Copy link

THANKS

@rchl
Copy link

rchl commented Feb 1, 2024

Not sure if Volar issue but a simple transition with key shows an error now:

Screenshot 2024-02-01 at 13 30 29

(I think key is allowed on transition?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants