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

324
Views
tslint:disable-next-line won't work for jsx prop error

I'm using react-select, I want to pass a prop that doesn't exist, but the lib is throwing an error, I try to skip it by putting disable-next-line, it won't work. But the code is doing fine, I believe it's a false positive, any clue why how to solve this issue?

<Select
  /* tslint:disable-next-line */
  handleClick={handleClick}
/>
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Can you use // tslint:disable-next-line instead of /* tslint:disable-next-line */

refer TSLint rule flags

about 4 years ago · Juan Pablo Isaza Report

0

This error is related to typescript and not ts-lint You can suppress this error by using @ts-ignore

<Select
  // @ts-ignore
  handleClick={handleClick}
/>
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!