【flowtype/React/Class】これ。how to fix 「Covariant property `[fn]` incompatible with contravariant use in ``` assignment of property `[fn]`」
flowtypeをReactに取り入れて、class構文で使おうとするとこのようなエラーが出る。
If you incorporate flowtype into React and try to use it in class syntax, you get such an error.
![【flowtype/React/Class】これ。how to fix 「Covariant property `[fn]` incompatible with contravariant use in ``` assignment of property `[fn]`」](https://kenjimorita.jp/wp-content/uploads/2017/02/5602c9b7bb0a419f4466fa89f7e26322-1024x245.png)
【flowtype/React/Class】これ。how to fix 「Covariant property `[fn]` incompatible with contravariant use in ``` assignment of property `[fn]`」
fix to
flowtype playground
https://github.com/kenmori/flow