Written by @controlplusb and @GiulioCanti Flow declaration files, like any other piece of software, must be thoroughly tested. The base technique for doing so, which is also used by the flow-typed repo, relies on the usage of the suppress_comment configuration option of the .flowconfig: [options]
suppress_comment=\\(.\\|\n\\)*\\$ExpectError
include_warnings=true The above configuration…