Report on (and potentially improve) flow type coverage.

Description

In learning to work with Flow, I noticed that the coding environment has some type coverage gaps.  These gaps occur where we pass around or receive undocumented objects without describing their deeper structure using Flow type annotations.  This ticket covers reporting on type coverage (perhaps by logging warnings when running npx flow check).

We could also choose to close some of the gaps as part of this issue, for example by:

  1. Installing additional flow-typed definitions for the packages we use.

  2. Adding a configuration option to let us opt a particular line out of coverage reporting.

  3. Adding type annotations as required.

Activity

Show:

Tony Atkins [RtF] September 9, 2020 at 12:15 PM

I was able to check our current coverage level using the command: npx flow batch-coverage . --quiet --show-all --strip-root

This returns:

Done

Details

Assignee

Components

Fix versions

Created September 9, 2020 at 11:58 AM
Updated September 22, 2020 at 1:03 PM
Resolved September 22, 2020 at 1:02 PM