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

218
Views
¿Cómo puedo ignorar globalmente la pelusa para las importaciones que solo se usan en los tipos de parámetros JSDoc?

Introduje eslint en mi backend. Ahora obtengo errores de pelusa para código como el siguiente ejemplo.

 const ImAClass = require("../models/ImAClass.model.js"); /** * Gets the class * @param {ImAClass} class * @returns {ImAClass} Returns the class */ function getClass(class) { return class; }

Esto conducirá al siguiente error:

error 'ImAClass' is assigned a value but never used no-unused-vars

¿Cómo puedo deshacerme de este error, sin spam // eslint-disable-next-line no-unused-vars ?

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!