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

279
Views
VSCode is not displaying the JSDoc define within an imported JS Class

I am having a problem in vscode where I can not see the defined jsdocs in a js class when importing that class in another js file. Not when hovering or using the vscode shortcuts.

./src/person/index.js

/**
* This is a person class.
*/
export default class Person{

    /**
    * Person constructor
    * @param {string} Name of the person
    * @param {number} Age of the person
    */
    constructor(name, age){
        this.name = name;
        this.age = age;
    }
}

./src/index.js

import { Person } from './src/person/index.js'

const jim = new Person("him", 88) // jsdoc is not recognized

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

./src/index.js

import { Person } from './src/person/index.js'

const jim = new Person("jim", 88)

jim is not string. You should change "jim"

about 4 years ago · Juan Pablo Isaza Report
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!