SaltyCrane Blog — Notes on JavaScript and web development

Flow Type Cheat Sheet

Flow is a static type checker for JavaScript. This is a list of Flow types generated from the source code in https://github.com/facebook/flow/tree/v0.59.0/ The script to generate this list is on github. Fixes welcome.

  • There are separate sections for "private" or "magic" types with a $ in the name. See the note here and comment here. Update: Some these types are now documented here.
  • Links in bold point to the Flow documentation. Other links point to the Flow source code.

Flow version: v0.59.0 v0.58.0 v0.57.3 v0.56.0 v0.55.0 v0.54.0 v0.53.1 v0.52.0 v0.51.1 v0.50.0 v0.49.1 v0.48.0 v0.47.0 v0.46.0 v0.45.0

Contents

Core

Document Object Model (DOM)

Document Object Model (DOM) "private" types

Browser Object Model (BOM)

Browser Object Model (BOM) "private" types

CSS Object Model (CSSOM)

indexedDB

Node.js

Node.js "private" types