-
Notifications
You must be signed in to change notification settings - Fork 6
Property '$q' does not exist on type 'CombinedVueInstance<Vue, ..> #38
Comments
Same problem here... Did a new fresh project generation and copied the files to the new one and solved the problem. |
I used a |
@zsluedem I can't reproduce the typescript definition error on my environment with the information you provided. To get more eyes on this potential problem, could you give more details of your environment/setup? I hope that some of the settings below might work for you. My current environment:
My tsconfig.json: My quasar.extensions.json: My VS Code extensions.json: My VS Code settings.json: Rework of example code so everyone can just copy and paste:
|
@l1qu1d
My tsconfig.json:
My quasar.extensions.json:
My VS Code settings.json:
Code:
|
I upgraded quasar to 1.2.1 and still got the typescript error |
Update tsconfig.json to automatically include Fixes Issue #38
I updated the
but it doesn't work. |
I added a file
|
This already exists in Quasar Boxed types. Including quasar types in the tsconfig should works, but somehow it doesn`t... |
Ok~! I find another solution for this. put
anywhere in my project |
I recently moved to Typescript. In case someone else comes here... I found that tsconfig.json needs to be in the root directory of my VSCode project. vuejs/vetur#815 |
This should be solved by the latest tsconfig preset we serve from |
The same for JavaScript projects, or projects that use the jsconfig.js file. There are several Vue projects in my workspace. When I removed the other few from the workspace and only left one, the problem was solved |
I have a JavaScript projects and dont use TypeScript but i also have this message: How can i fix this?! |
@MarcelFranken Edit: just realized you just asked a question about JS codebase into the TS app-extension migration tool... Why are you even using this AE into a JS project? |
I do not know if you have already solved it but in case someone is useful. Make 2 examples, one with TS and the other with JS and notice that in the JS project that error appears but not in the TS and notice that the TS project has a file called (tsconfig.json) and you add it to the JS project and it no longer comes out the error I hope someone will solve it in a better way |
An ts error would occur.
Property '$q' does not exist on type 'CombinedVueInstance<Vue, ..>
The text was updated successfully, but these errors were encountered: