question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Property 'xxx' does not exist on type 'CombinedVueInstance<Record<never, any> & Vue, object, object, object, Record<never, any>>'

See original GitHub issue
  • I have read FAQ
  • I have searched through existing issues
  • I have read through docs

Info

  • 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:closed
  • Created 3 years ago
  • Reactions:23
  • Comments:65 (22 by maintainers)

github_iconTop GitHub Comments

48reactions
Pedroprtcommented, Aug 14, 2020

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) }

37reactions
krushndayshmookhcommented, Oct 1, 2020

search for vetur.validation.interpolation

image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found