News for hackers. Stuff that matters.
Re:Evolution of the Heroku CLI: 2008-2017 by z3t4 on Sunday September 03, 2017 @03:52AM (#15160201)
I think the idea with Flow is you just have JSDoc type annotations, so you get strong typing without transpiration.
Re:Evolution of the Heroku CLI: 2008-2017 by frou_dh on Sunday September 03, 2017 @05:52AM (#15160571)
There is a comment convention where you can add Flow type annotations and definitions to vanilla JS:

    x /*: T*/
    
    /*::
    type T = {
      ...
    }
    */
But in practice I don't think it's pushed as being preferable to the invasive syntax.
Re:Evolution of the Heroku CLI: 2008-2017 by styfle on Sunday September 03, 2017 @09:42AM (#15161368)
I believe TypeScript has the JSDoc feature as well, although it's much more recent.
Re:Evolution of the Heroku CLI: 2008-2017 by styfle on Thursday September 07, 2017 @10:21PM (#15197445)