TS expect / ignore
The ideas which when to use, have you points to add? Or other advice?
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
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
TS expect / ignore
The ideas which when to use, have you points to add? Or other advice?
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