vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.55k stars 373 forks source link

vue-tsc 2.0.18/19: Cannot find name 'xyz' property when using experimentalModelPropName config #4414

Open johuhype opened 1 month ago

johuhype commented 1 month ago

Hello, I am using the vuetify2-component-types dev dependency. There is a recommended setting to configure where vuetify 2 deviates from the standard value/input configuration for v-model:

    "experimentalModelPropName": {
        "input-value": {
            "v-checkbox": true,
            "v-switch": true,
            "v-chip": true,
            "v-btn": true,
            "v-list-item": true,
            "v-bottom-navigation": true
        },
        "": { "input": true },
        "value": {
            "input": { "type": "text" },
            "textarea": true,
            "select": true
        }

Pre 2.0.18, this was working as intended. Now, in 2.0.18/19 I am getting error messages from vue-tsc image

I can fix this a bit by putting v-model as the last thing in the template image

But still, the tooltip descriptions / intellisense info are missing. Only, if I would remove v-model completely, they are currently appearing: image