4 ms·
If for no other reason, I would like Typescript for flagging when you typo some property - e.g. foo.FooID vs foo.FooId. I've lost a stupid amount of time in re
by thrower123 7y ago
If for no other reason, I would like Typescript for flagging when you typo some property - e.g. foo.FooID vs foo.FooId.
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.
- valand 7y agoDecent editor does that now. I'm using atom on daily basis and it's helping me with that. VScode and intellij does the same
- dragonwriter 7y agoDoesn't the functionality for that in most editors leverage typescript typings, so that it's not really independent of typescript?
- valand 7y agoAh 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.
- amatecha 7y agoyou can add JSDoc annotations and use a modern IDE like vscode or webstorm, etc.