1. 11

This isn’t available yet, but was discussed at @Scale, https://code.facebook.com/atscale:

At Facebook, we’re writing more and more JavaScript every day. The code we write not only exploits the full flexibility and expressiveness offered by the language, but it also demands strong assurances of robustness, performance, and hackability. In such an environment, the lack of static typing becomes extremely costly, because all the tooling that is needed to support development at this level of scale and complexity requires code intelligence, and the foundations of code intelligence are static types. Flow is a static type system for JavaScript that we’ve built at Facebook, with the overall goal of making JavaScript development an awesome experience. Flow supports several flexible and expressive JavaScript idioms that require advanced type system features that go beyond traditional languages.

And from http://facebook.github.io/react/blog/:

And lastly, on the heels of announcing Flow at @Scale yesterday, we’re adding the ability to strip TypeScript-like type annotations as part of the jsx transform. To use, simply use the –strip-types flag on the command line, or set stripTypes in the options object when calling the API. We’ll be talking about Flow more in the coming months. But for now, it’s helpful to know that it is a flow-sensitive JavaScript type checker we will be open sourcing soon.

    1. 4

      Found the video discussing some of it: https://www.youtube.com/watch?v=Bse0sYR7oVY&t=83m36s

      1. 1

        That video link was broken, but I think this is the same video: https://www.youtube.com/watch?v=M8x0bc81smU