help wantedrefactoring
Repository metrics
- Stars
- (14,268 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
... one by one.
Flow recently got a "strict" mode. We should make all our files "flow strict". This is the master issue to track progress until all files are flow strict.
We introduced flow strict to Prepack in #1692, and made the first file flow strict: https://github.com/facebook/prepack/pull/1692/files#diff-5c8b199a98cb05fcfa67ad0a331c165b
So, for each files, this starts by changing
* @flow */
to
* @flow strict */
and then fixing up the type errors (if any) that will emerge when running
yarn flow
One practical problem is that we have a giant cycle, and strict files can only import other strict files.