I did it. I removed all : any and @ts-ignore from my project.
It was a lot more pain than I expected for several reasons. Most of them are my fault. At least it helped me to identify some TS-unfriendly patterns in my code. Let’s talk about the most painful one…

Keys as a string. I LOVE my strings. So I use them as ids everywhere. Then when I try to access the object with this key by a string, typescript politely tells me to go and love myself, because the string is not a correct type for this key…

Inga Pflaumer

I have the best job ever — creating and destroying imaginary people.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store