News for hackers. Stuff that matters.
Re:Announcing TypeScript 2.1 by manojlds on Wednesday December 07, 2016 @12:57PM (#13124533)
Flow is not a language
Re:Announcing TypeScript 2.1 by tomatsu on Wednesday December 07, 2016 @01:30PM (#13124867)
https://flowtype.org/

  function bar(x): string {
That's not JavaScript.
Re:Announcing TypeScript 2.1 by thejameskyle on Wednesday December 07, 2016 @02:51PM (#13125618)
If that's too much you can also do:

    function bar(x) /* : string */ {
No compiling necessary
Re:Announcing TypeScript 2.1 by ygra on Wednesday December 07, 2016 @01:30PM (#13124870)
I'm fairly sure it has a grammar.