universe
universe copied to clipboard
Flow: enable `experimental.enforce_local_inference_annotations` option
The goal of this task is to enable the following config option in .flowconfig
:
- experimental.enforce_local_inference_annotations=false
+ experimental.enforce_local_inference_annotations=true
This project currently has 10 errors after enabling this option that must be fixed.
See Flow 0.184.0 release notes: https://github.com/facebook/flow/releases/tag/v0.184.0
Acceptance criteria
- The Flow option
experimental.enforce_local_inference_annotations
is enabled. - The PR follows the project conventions.
- All CI checks pass, and all code review comments are addressed.
Hits for successful completion of this task
- Enable
experimental.enforce_local_inference_annotations
in.flowconfig
. - Run
./x flow
to see the new errors (should be ~10) - Start investigating and fixing the errors by adding correct Flow annotations.
How to install and run this project
git clone --depth=100 [email protected]:adeira/universe.git
cd universe
corepack enable
chmod +x ./x
./x install
To run JavaScript tests:
./x tests
For more information, please visit README.md
located at the root of this project. If you get lost, you can also start a new discussion. 😎
Hello, I would like to work on this task
Hi @manastelavane! 👋 I've assigned you to this task. Please let me know in case you need any help or advice. I am happy to help. My recommendation is to check the latest Flow release as well as it includes relevant information regarding this issue: https://github.com/facebook/flow/releases/tag/v0.189.0