News for hackers. Stuff that matters.
Re:Love for TypeScript by adam12 on Saturday July 30, 2016 @07:39AM (#12192563)
your js version:

y = myFunction(1); // y = 2

y = myFunction("1"); // y = "11"

the ts version wouldn't allow you to compile myFunction("1")

There are no comments on this comment yet.