- website: https://flowtype.org/
- original announcment: https://code.facebook.com/posts/1505962329687926/flow-a-new-static-type-checker-for-javascript/
- paper: http://www.cs.umd.edu/~avik/papers/iogti.pdf
- inspection utility: https://github.com/flowtype/flow-inspect
Contrast with intrinsic type systems (ML, Haskell, Java, Scala).
- function type annotation
- type aliases
- Unions, Intersections
- dynamic type tests
- Exact types
- any vs mixed
- map types
typeof
types$Keys<O>
$ObjMap<O, F>
Inference
Instead of typing unannotated terms with any
, aka supertype and subtype of all types, try to infer types.
"Lazy"
Instead of eagerly assigning types to terms, record all inflows and check for consistency among flows as information grows.