Flow: Support $FlowFixMe in the REPL

Created on 11 Oct 2016  路  3Comments  路  Source: facebook/flow

Please. :)

I am trying to create some cheatsheets and this would be helpful to have so that I can show cases where we should expect a Flow error to occur.

feature request

Most helpful comment

I would love this too! 馃憤

// $ExpectError

as in the docs would probably be even better

All 3 comments

I would love this too! 馃憤

// $ExpectError

as in the docs would probably be even better

I tried to take a stab at this, but I wasn't able to inject any custom configuration in tryFlow.js.

What I tried is calling registerFile passing a .flowconfig content, but it doesn't work. I could definitely use a pointer here /cc @mroch

This would be very helpful in order to share tests

Was this page helpful?
0 / 5 - 0 ratings