TypeScript vs Flow

Type systems.

Overview

TypeScript won the JavaScript-types market several years ago; Flow remains in long-tail Meta-internal codebases and a small number of legacy repos that have not migrated. For new code in 2026, the conversation is whether to type at all, not which type checker to pick.

The approach

For new code, default to TypeScript. For Flow codebases, plan a migration with a measurable end date; running both indefinitely costs more than picking one.

Why this compounds

Standardising on one type system keeps paying back: shared lint rules, one editor configuration, shared type-utility libraries, and a single answer when a new engineer asks how to add a typed module.