You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having issues with prop types being any in this small repro. In a bigger project, they always show as never. If I switch to Vue 3, the problem goes away. I tried various things, like using @vue/runtime-dom, setting vueCompilerOptions.target, casting with PropType, and more, but nothing worked, so I think it's really broken. I tried 0.38.2 and 0.36.
I'm having issues with prop types being
any
in this small repro. In a bigger project, they always show asnever
. If I switch to Vue 3, the problem goes away. I tried various things, like using@vue/runtime-dom
, settingvueCompilerOptions.target
, casting withPropType
, and more, but nothing worked, so I think it's really broken. I tried 0.38.2 and 0.36.Component.vue
:jsconfig.json
{ "compilerOptions": { "checkJs": true, "target": "es2020", "module": "es2020", "moduleResolution": "node", "jsx": "preserve" }, "vueCompilerOptions": { "target": 2.7 } }
package.json
{ "dependencies": { "vue": "2.7.2" } }
Volar: show doctor panel
Infostsconfigs
file:///Users/caleb/Code/test-volar/jsconfig.json
Configuration
The text was updated successfully, but these errors were encountered: