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

179
Views
I'm creating a locat TS Library for our project, but the TSDoc isn't displayed in the IDE

I'm writing a small TypeScript library to be used by multiple sub-systems.

In a different project I linked to the library using npm, but WebStorm only displays the TSDoc for methods, not for classes.

package.json:

{
  "name": "shared-utilities",
  "version": "1.0.0",
  "description": "A package description...",
  "main": "src/index.ts",
  "license": "ISC",
  "scripts": {
    "prepare": "npm run build",
    "build": "tsc"
  },
  "devDependencies": {
    "typescript": "^4.5.4"
  },
  "files": [
    "./dist"
  ]
}

tsconfig:

{
  "compilerOptions": {
    "module": "commonjs",
    "target": "es2015",
    "declaration": true,
    "outDir": "./dist"
  },
  "include": [
    "src/**/*"
  ]
}

The TSDoc of a class is not displayed:

Class TsDoc

While the TsDoc of a method is displayed:

Method TsDoc

Additionally, WebStorm doesn't import classes automatically when using them, like it does with other libraries. I would have to import it manually.

Any ideas on what I might be doing wrong?

about 4 years ago · Santiago Trujillo
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!