Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re-enable flow check in github-build-check
Summary: OSS CI has been marked as broken for a week or so due to a flow error but was just detected due to T189426364. ``` $ flow check Error ----------------------------------------------------------------------------------------- flow-typed/react.js:39:6 Cannot resolve name `React$ElementFactory`. [cannot-resolve-name] 39| ): React$ElementFactory<ElementType>; ^^^^^^^^^^^^^^^^^^^^ ``` OSS<>InternalFB inconsistencies could be caught via the sandcastle job `github-build-check`. But `flow check` was purposefully disabled in 2021 in `github-build-check` due to a previous issue (D31590484). This diff re-enables the `flow check` in `github-build-check` . It also fixes the `flow` issue we were seeing in OSS CI by removing the deprecated [`createFactory`](https://react.dev/reference/react/createFactory) function from the flow-typed react module -- which we aren't currently using. Reviewed By: gorodscy Differential Revision: D57499258 fbshipit-source-id: 1a24cd276a71337af3d5ec05c43ab4d58ebd3243
- Loading branch information