Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 894 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 894 Bytes

This repo reproduces the bug mentioned here and filed here.

Flow's [declarations] section does not always work correctly. These are the steps to reproduce the issue:

  1. Create a new RN 0.55.4 project (react-native init FlowDeclarations --version 0.55.4)

  2. Install Flow (yarn add [email protected])

  3. Run Flow

    At this point in the new RN project there are 15 Flow errors ( all inside node_modules/react-native/Libraries/).

  4. Add the libraries with Flow errors to .flowconfig's [declarations] section

  5. Run Flow again

Actual result: The above mentioned Flow errors remain and are not suppressed. More than that, there are new ones (now there are 47 errors)

Expected result: 15 Flow errors from the RN Libraries are suppressed, no new errors are added.