News for hackers. Stuff that matters.
Re:Problems with TypeScript by thrower123 on Wednesday January 15, 2020 @09:22PM (#22061132)
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.

Re:Problems with TypeScript by valand on Wednesday January 15, 2020 @10:37PM (#22061480)
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?
Re:Problems with TypeScript by valand on Thursday January 16, 2020 @02:45AM (#22062428)
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.

Re:Problems with TypeScript by amatecha on Tuesday January 21, 2020 @07:46PM (#22113440)
you can add JSDoc annotations and use a modern IDE like vscode or webstorm, etc.