Property 'xxx' does not exist on type 'CombinedVueInstance<Record<never, any> & Vue, object, object, object, Record<never, any>>'
See original GitHub issueInfo
- Platform: Windows x64
- Vetur version: 0.26.1
- VS Code version: 1.47.3
Problem
Updating Vetur into the last release I get an error in each property in html component
, computed
, methods
, events
, etc.
Property 'styleRow' does not exist on type 'CombinedVueInstance<Record<never, any> & Vue, object, object, object, Record<never, any>>'
This is my method:
styleRow(row) {
return `background-color: ${
row.order && row.order.category ? row.order.category.color : '#ffffff'
}`
}
Reproducible Case
Not reproducible by a project.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:23
- Comments:65 (22 by maintainers)
Top Results From Across the Web
Property 'XXX' does not exist on type 'CombinedVueInstance ...
I get below error: Property 'doThisInput' does not exist on type ... The solution is to define some types so that Vue is...
Read more >[Vue/Vetur] Property '$route' does not exist on type ... - velog
Property '$route' does not exist on type 'CombinedVueInstance<Record<never, any> & Vue, object, object, object, Record<never, any>>'.
Read more >Getting Property 'x' does not exist on type .... .Vetur(2339) #1834
Getting Property 'x' does not exist on type . ... 'x' does not exist on type 'CombinedVueInstance<Vue, object, object, object, Record<never, any>>'.
Read more >[solved]-vue 3 ts 2339 : the property yyy doesn't exist ont type
Coding example for the question VUE 3 TS 2339 : The property xxx doesn't exist ont type {-Vue.js.
Read more >vscode中的vue项目报错Property 'xxx' does not exist on type ...
... any> & Vue, object, object, object, Record<never, any>>. ... Vue:使用ts获取this上的属性报错, Property 'xxx' does not exist on type.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found in .vscode folder a file settings.json
{ “vetur.validation.template”: false,
“eslint.validate”: [“javascript”, “javascriptreact”, “typescript”, “vue”],
“vetur.experimental.templateInterpolationService”: true (change this to false. It worked for me) }
search for
vetur.validation.interpolation