Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

182
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda