News for hackers. Stuff that matters.
Re:TypeScript 1.4 sneak peek: union types, type guards, and ... by UberMouse on Wednesday November 19, 2014 @08:02PM (#8633802)
So variables are explicitly declared, don't have issues of mis typing a variable name and accidentally declaring a new one.

Note: This is just my thinking, I don't know if it's the actual reason

Re:TypeScript 1.4 sneak peek: union types, type guards, and ... by Retra on Thursday November 20, 2014 @03:20PM (#8637905)
That's a sensible reason, sure, but I'd rather declare it with an actual type instead.