DEV Community

Discussion on: Getting Started With TypeScript

 
tylim88 profile image
Acid Coder

a good analogy is something like const and let vs var

in what case you need var? almost none

so I never use ts ignore, I only use ts expect error

if you find yourself in need of ts ignore, you probably need refactoring or you have compatibility issue