How to fix "Property XX does not exist on type 'CombinedVueInstance" errors in VSCode? (Vue with Typescript) How to fix "Property XX does not exist on type 'CombinedVueInstance" errors in VSCode? (Vue with Typescript) vue.js vue.js

How to fix "Property XX does not exist on type 'CombinedVueInstance" errors in VSCode? (Vue with Typescript)


Came across this error at work today (Vue without TypeScript in VSCode).

It also came out of nowhere for us, and in the end the culprit was just that the Vetur extension in VSCode needed to be reloaded.


In settings.json, set:

"vetur.experimental.templateInterpolationService": false


Seems the issue was with the return statement in my mounted() stage. Removing that return (probably something leftover from an example I was using) solved the problem.

mounted() {        // this works        this.loadProviderList();}

Still, strange that the environment changed behaviour from one day to the next, and that it compiled - might never get an answer to that :)