We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eedfc9c commit 313dd26Copy full SHA for 313dd26
1 file changed
typescript/src/volarConfig.ts
@@ -50,7 +50,8 @@ const plugin = ((context, { typescript: tsModule } = {}) => {
50
51
const getResolvedUserConfig = async () => {
52
const regularConfig = await configurationHost.getConfiguration!<any>('tsEssentialPlugins')
53
- const _vueSpecificConfig = await configurationHost.getConfiguration!<any>('[vue]')
+ const _vueSpecificConfig = (await configurationHost.getConfiguration!<any>('[vue]')) || {}
54
+
55
const vueSpecificConfig = Object.fromEntries(
56
compact(
57
Object.entries(_vueSpecificConfig).map(([key, value]) =>
0 commit comments