ts-migrate
ts-migrate copied to clipboard
reignore swallows comments on ts-ignores
When I ran ts-migrate reignore, it helpfully upgraded ts-ignores to ts-expect-errors. However, in doing so, it removed some of the comments I had on the ts-ignores:
- // @ts-ignore: Custom message
+ // @ts-expect-error ts-migrate(2339) FIXME: ...
I can't use this tool on my codebase if it means I'll lose these custom messages, so I'll have to manually fix these spots, or submit a PR to this project. :smile: