News for hackers. Stuff that matters.
Re:Announcing TypeScript 2.2 by dsp1234 on Wednesday February 22, 2017 @05:20PM (#13709771)
The classic example is:

  function double(x) {
    return x * 2;
  }
  const result = double("foo");
Which passes in TS, but fails in Flow. In TS, the 'x' parameter to the double function is inferred as Any.

There are no comments on this comment yet.