# Flow to TypeScript: Status and Migration Path | gen2.dev

> Flow is still developed at Meta and its syntax now resembles TypeScript. Why a team such as Stripe moved anyway, and what converting a codebase involves.

Source: https://gen2.dev/successors/flow/

---

Successor Map · Languages and runtimes

# Flow to TypeScript: an actively developed checker some teams left

Flow is still developed and used in production at Meta, so nothing here is end of life. Stripe moved to TypeScript for tooling reasons and converted millions of lines in a single change.

![Slide: Flow on the left, an arrow, and TypeScript on the right.](https://gen2.dev/img/successor-flow.png)

Status of the old tool

Still active

Effort to move

A real project

gen2.dev's view

Move when convenient

Sources checked

2026-11-28

## Key facts

Gen 1

![Flow logo](https://gen2.dev/icons/tech/flow.png)Flow, the static type checker for JavaScript from Meta

Gen 2

![TypeScript logo](https://gen2.dev/icons/tech/typescript.png)TypeScript

Kind of tool

[Languages and runtimes](https://gen2.dev/successors/languages/)

Status of Gen 1

Still active The Flow home page, read on November 28, 2026, shows version v0.343.0 and says Flow is used in production at Meta, and the repository is not archived.

Effort to move

A real project: plan it and run both for a while

What breaks

The two type systems do not agree everywhere, so a converted codebase starts with thousands of suppressed type errors that have to be worked down.

Should you move?

Move when convenient Flow is actively developed, so there is no deadline; the case for moving is the editor and tooling experience that teams such as Stripe reported. This is gen2.dev's view, not the maintainers'.

Sources checked

2026-11-28, [5 sources](#sources)

## Gen 1 and Gen 2 side by side

npm registry

![Flow logo](https://gen2.dev/icons/tech/flow.png)Gen 1

![TypeScript logo](https://gen2.dev/icons/tech/typescript.png)Gen 2

Package

[flow-bin](https://www.npmjs.com/package/flow-bin)

[typescript](https://www.npmjs.com/package/typescript)

Latest version

0.343.0

7.0.2

Latest release

Nov 26, 2026

Jul 8, 2026

First release

Nov 18, 2014

Oct 1, 2012

License

MIT

Apache-2.0

Downloads, last week

419,105

416,002,589

Read from each package registry on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count.

## What Gen 1 was

Flow is Meta's type checker for JavaScript. Its README says, "Flow is a static typechecker for JavaScript." You add type annotations to JavaScript and Flow checks them.

It is Gen 1 only in the sense that some teams have been there and left. The Flow home page says it is "Used in production at Meta across millions of files of JavaScript and React."

## What replaced it

TypeScript, for the teams that have published an account of leaving.

Flow itself has not stopped. Its blog lists posts through May 29, 2025, its home page shows version v0.343.0, and the README says Flow is written in Rust. The home page now describes Flow as "a typed dialect of JavaScript" and adds, "It looks like TypeScript now."

On direction, Flow's blog carries a post dated May 25, 2021 titled "Clarity on Flow's Direction and Open Source Engagement." The site now marks that post as historical and says it "may not reflect the current state of the project." The contributing guide asks anyone proposing more than a library definition or documentation change to open a discussion issue first, to ensure the work "aligns with the Flow team's goals."

## What moving involves

Stripe published the clearest account. Its reason was daily friction: "The type checker's memory usage would lock up laptops, and the in-editor integration was frequently slow and unreliable."

It did not convert file by file. "In a single pull request, we converted more than 3.7 million lines of code." The tool was a codemod, a script that parses Flow code and writes TypeScript, which Stripe copied from Airtable's open-source version and adapted to its own code.

That is a [cutover](https://gen2.dev/guide/cutover/), not a gradual migration, and it needs the preparation of one: a rehearsed conversion, a freeze on other changes, and a way back.

## What breaks

A codemod translates syntax. It cannot make two type systems agree. Stripe's first pass "created over 97,000 error suppressions," which the team worked down to 37,000, about one per thousand lines.

Behavior can change too. During testing, Stripe found that the converted Dashboard was failing to load translations for users who were not reading it in English.

Expect the suppressions to be the long tail of the project. Each one marks a place where the checker is not checking.

## Should you move?

Move when it is convenient, not because of a deadline. Flow is actively developed, and a team that is productive with it has no reason to hurry.

The exception in one direction is a team whose editor tooling or hiring is suffering now, which should plan the move as a project. The exception in the other is a codebase closely tied to Meta's own tools and conventions, where Flow remains the supported path.

## Common questions

### Is Flow dead?

No. Its maintainers have not announced an end. The Flow home page, read on November 28, 2026, shows version v0.343.0 and says Flow is used in production at Meta, and the repository is not archived.

### What replaced Flow?

TypeScript. Effort to move: A real project: plan it and run both for a while

### Should I move off Flow?

gen2.dev's view: Move when convenient. Flow is actively developed, so there is no deadline; the case for moving is the editor and tooling experience that teams such as Stripe reported.

## Sources

1.  [Flow home page - flow.org](https://flow.org/) - Describes Flow as a typed dialect of JavaScript that looks like TypeScript now, says it is used in production at Meta, and shows version v0.343.0.
2.  [Flow blog - flow.org](https://flow.org/blog/) - The list of posts, the most recent dated May 29, 2025, and the May 25, 2021 post on Flow's direction, which the site marks as historical.
3.  [facebook/flow README - GitHub](https://github.com/facebook/flow) - Describes Flow as a static typechecker for JavaScript and says Flow is written in Rust; the repository is public and not archived.
4.  [facebook/flow CONTRIBUTING - GitHub](https://github.com/facebook/flow/blob/main/CONTRIBUTING.md) - Asks contributors to open a discussion issue first for anything that is not a library definition or documentation change.
5.  [Migrating millions of lines of code to TypeScript - Andrew Lunny, Stripe (May 20, 2022)](https://stripe.dev/blog/migrating-to-typescript) - Why Stripe left Flow, the single pull request of more than 3.7 million lines, the codemod used, the suppression counts and a bug found in testing.
6.  [flow-bin - npm](https://www.npmjs.com/package/flow-bin) - latest version, release dates, license and last week's downloads, read on November 29, 2026
7.  [typescript - npm](https://www.npmjs.com/package/typescript) - latest version, release dates, license and last week's downloads, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.

## How to do the move

The pattern that fits this kind of replacement:

[The cutover](https://gen2.dev/guide/cutover/)

[All successor entries](https://gen2.dev/successors/)

Also moving to TypeScript:

-   [CoffeeScript](https://gen2.dev/successors/coffeescript/)

## More in Languages and runtimes

-    [![CoffeeScript logo](https://gen2.dev/icons/tech/coffeescript.png) CoffeeScript to TypeScript Still active A real project Move when convenient](https://gen2.dev/successors/coffeescript/)
-    [![ES5 JavaScript logo](https://gen2.dev/icons/tech/es5-javascript.png) ES5 JavaScript to modern JavaScript Still active Mechanical Move when convenient](https://gen2.dev/successors/es5-javascript/)
-    [![.NET Framework logo](https://gen2.dev/icons/tech/dotnet-framework.png) .NET Framework to .NET Maintenance only A real project Leave it](https://gen2.dev/successors/dotnet-framework/)
-    [![nvm logo](https://gen2.dev/icons/tech/nvm.png) nvm to fnm Still active Drop-in Leave it](https://gen2.dev/successors/nvm/)
-    [![Perl 5 logo](https://gen2.dev/icons/tech/perl.png) Perl 5 to Python Still active A real project Move when convenient](https://gen2.dev/successors/perl/)
-    [![PHP 8.2 and older logo](https://gen2.dev/icons/tech/php-8-2.png) PHP 8.2 and older to PHP 8.4+ Maintenance only Mechanical Move now](https://gen2.dev/successors/php-8-2/)
-    [![Windows Batch logo](https://gen2.dev/icons/tech/windows-batch.png) Windows Batch to PowerShell 7 Still active Mechanical Move when convenient](https://gen2.dev/successors/windows-batch/)

[All languages and runtimes](https://gen2.dev/successors/languages/)
