The Wire · Showcase
LANGUAGE TOOLS V3.3.0 FIXES PROP AUTOCOMPLETE FOR DISCRIMINATED UNIONS
By RepoJournal · Filed · About Vue.js
Vue's TypeScript plugin now correctly infers component props in discriminated unions and generic types, finally making autocomplete work the way you'd expect.
Language Tools v3.3.0 [1] ships a refined autocomplete system that aligns prop inference with TypeScript's actual behavior. The old approach inferred props directly from the component definition, which broke down hard when you needed dynamic typing like discriminated unions or generics. Now the plugin uses symbol resolution to pull prop details correctly [2], so your editor will surface the right prop suggestions even when your component's shape depends on a type discriminator.
The release also patches three edge cases that were shipping incorrect diagnostics [3] [4]. One fix prevents spurious "extraneous children" errors for conditional slots, another ensures unchecked JavaScript identifiers don't trip up the prop validator. These are small fixes but they reduce noise in your diagnostics significantly.
If you're working with modern TypeScript patterns in Vue, this upgrade stops the friction between what your IDE shows and what TypeScript knows to be true. Worth pulling in immediately.
Action items
- → Upgrade @vue/language-tools to v3.3.0 in your TypeScript project vuejs/language-tools [plan]
- → Restart your language server after upgrade to reload the plugin vuejs/language-tools [immediate]
References
- [1] v3.3.0 ↗ vuejs/language-tools
- [2] fix(typescript-plugin): get component prop details from symbols vuejs/language-tools
- [3] fix(language-core): avoid extraneous children error for conditional slots (#6056) vuejs/language-tools
- [4] fix(typescript-plugin): skip unchecked JS identifiers in component props (#6055) vuejs/language-tools
FAQ
- What changed in Vue.js on May 19, 2026?
- Vue's TypeScript plugin now correctly infers component props in discriminated unions and generic types, finally making autocomplete work the way you'd expect.
- What should Vue.js teams do about it?
- Upgrade @vue/language-tools to v3.3.0 in your TypeScript project • Restart your language server after upgrade to reload the plugin
- Which Vue.js repositories shipped on May 19, 2026?
- vuejs/language-tools