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

155
Views
How can I mark with diff color item from enum that has no references

project is in ReactJS with TypeScript and work in VS Code I have a big enum

export enum UtilMessages {
    UtilNr1 = 'Util Nr 1 is nr 1',
    UtilNr2 = 'Util Nr 2 is nr 2',
    ...
    UtilNr99999 = 'Util Nr 99999 is nr 99999'
}

somewere in code I have usage of enum items like

<Button>{UtilMessages.UtilNr1}</Button>

I want to remove all unused (items that has no references)

I can to remove all of them and one by one restore where compiller will show the usage error, but items are very much, and this process will consume a long time Any ideas?

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!