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?