Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Fix flow by allowing optional chaining #2369

Closed
wants to merge 1 commit into from
Closed

Fix flow by allowing optional chaining #2369

wants to merge 1 commit into from

Conversation

mrkev
Copy link
Contributor

@mrkev mrkev commented Mar 26, 2020

Summary

Turns out the optional chaining PR (#2330) also broke flow. We should run a flow check automatically before we build, not just strip the types.

Test Plan

flow .

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrkev has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@fabiomcosta
Copy link
Contributor

+1

@facebook-github-bot
Copy link

@mrkev merged this pull request in 8576432.

vilemj-Viclick pushed a commit to kontent-ai/draft-js that referenced this pull request Jul 16, 2020
Summary:
**Summary**

Turns out the optional chaining PR (facebookarchive#2330) also broke flow. We should run a flow check automatically before we build, not just strip the types.

**Test Plan**

`flow .`
Pull Request resolved: facebookarchive#2369

Reviewed By: claudiopro

Differential Revision: D20680346

Pulled By: mrkev

fbshipit-source-id: c30392a4e8084521c7e66f303fbc5f4832866e98
alicayan008 pushed a commit to alicayan008/draft-js that referenced this pull request Jul 4, 2023
Summary:
**Summary**

Turns out the optional chaining PR (facebookarchive/draft-js#2330) also broke flow. We should run a flow check automatically before we build, not just strip the types.

**Test Plan**

`flow .`
Pull Request resolved: facebookarchive/draft-js#2369

Reviewed By: claudiopro

Differential Revision: D20680346

Pulled By: mrkev

fbshipit-source-id: c30392a4e8084521c7e66f303fbc5f4832866e98
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants