I was able to come up with a hack to solve this. Not sure if it makes sense but it solves my problem so I am happy. I created a file in my types folder called “types/shims-global.d.ts” with the following info:
import Vue from ‘vue’;
import { QVueGlobals } from ‘quasar’;
declare module ‘vue/types/vue’ {
interface Vue {
$q: QVueGlobals
}
}
The interesting thing is that the types are already available in the Quasar package but at any rate VSCode has stopped complaining so I think all is well for now. I assume it’s a bug or something that will be fixed eventually.