News for hackers. Stuff that matters.
Re:TypeScript support in Electron by fdsfsafasfdas on Friday June 02, 2017 @05:15PM (#14473361)
What is the error in 1+'1'? It seems like it would just be '11'.

Unless, of course, you're implying it converts javascript into a strongly typed language, which would be amazing.

Re:TypeScript support in Electron by boubiyeah on Friday June 02, 2017 @05:24PM (#14473430)
It keeps most of JS semantics, for better or worse :p

1 + '1' is authorized.

1 + [] is not.