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.

docs: Property '$accessor' does not exist on type

See original GitHub issue

Hi, thanks for the very cool lib!

📚 Is your documentation request related to a problem? Please describe. After adding the lib to my nuxt Project and creating a index.d.ts file I get this error
Property '$accessor' does not exist on type 'CombinedVueInstance<Vue, object, object, object, Record<never, any>>'.

Do I need to import this file somewhere? I have a vue-shim.d.ts aswell.

🔍 Where should you find it? https://nuxt-typed-vuex.danielcroe.com/accessor/accessor.html#using-the-accessor

ℹ️ Additional context TS: 3.75 Nuxt: 2.11.0

I use the vue composition api plugin aswell

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
danielroecommented, Jan 31, 2020

@JulianMar Great - glad it’s sorted 😀

1reaction
JulianMarcommented, Jan 31, 2020

found it. In my tsconfig I had this line "include": ["themes/**/*"] so index.d.ts was not included

Thanks for you help

Read more comments on GitHub >

github_iconTop Results From Across the Web

docs: Property '$accessor' does not exist on type #73 - GitHub
After adding the lib to my nuxt Project and creating a index.d.ts file I get this error Property '$accessor' does not exist on...
Read more >
Typescript : Property does not exist on type 'object'
I am using JSforce and trying to use "search" function on the object but it is throwing "Property 'search' does not exist on...
Read more >
Property does not exist on type '{}' in TypeScript | bobbyhadz
The "Property does not exist on type '{}'" error occurs when we try to access or set a property that is not contained...
Read more >
Documentation - Decorators - TypeScript
A Decorator is a special kind of declaration that can be attached to a class declaration, method, accessor, property, or parameter. Decorators use...
Read more >
Property accessors - JavaScript - MDN Web Docs - Mozilla
There are two ways to access properties: dot notation and bracket notation. Dot notation. In the object.propertyName syntax, the propertyName ...
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