there are a few secret magic types in flow that are the most awesome things for typing library code. $keys gives you a string enum.
-
-
@drosenwasser awesome! -
anyway, this is why I don't dismiss TS so quickly because of type-system features, 1/
-
1. it already does more things than you think. 2. preprocessing is promising. 3. TS evolves quickly 2/2
-
to be fair. I never discounted TS. Just go back and forth. And I think Flow is better currently. That may change!
-
being able to open up TS source and stay "in flow" while working on a TS project is a killer feature.
-
in many ways flow and typescript are similar. I'm gonna keep watching both projects for the time being.
-
same. I didn't know about
$keys, and am now wondering what I need to do to stay up to date on Flow innovations. -
I wonder how Nuclide + Flow compares to VSCode + TS. The latter is really a game-changing combo for me.
- 7 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.