Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

313
Views
how to add nuxt plugins to vs-code jsDoc type checkings?

when using plugins in nuxt , we can access them in components and store using this

export default {
   methods:{
     myMethod(){
        return this.$myNuxtPlugin.doThings()
     }
}

to check types with jsDocs in vscode, in jsconfig.json i set compilerOptions.checkJs to true,

but Vetur/vscode-intellisense cannot detect nuxt plugins types .

the error for above example would be :

Property '$myNuxtPlugin' does not exist on type 'CombinedVueInstance<Vue, { 
myMethod(): Promise<void>; }>>'.Vetur(2339)
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!