Decent editor does that now. I'm using atom on daily basis and it's helping me with that. VScode and intellij does the same
Re:Problems with TypeScript
by dragonwriter on Wednesday January 15, 2020 @10:41PM
(#22061499)
Doesn't the functionality for that in most editors leverage typescript typings, so that it's not really independent of typescript?
Ah I misread the parent comment. I thought it was more like "I wish typescript has this anti-typo functionality"
You're right that it's not independent from TS.
I've lost a stupid amount of time in regular JS because of things like this that make me want to pick up the computer and throw it out the window.