docs: Property '$accessor' does not exist on type
See original GitHub issueHi, 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:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top 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 >
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 Free
Top 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
@JulianMar Great - glad it’s sorted 😀
found it. In my tsconfig I had this line
"include": ["themes/**/*"]
so index.d.ts was not includedThanks for you help