For upgrading I used flow-upgrade module by https://yarnpkg.com/en/package/flow-upgrade
* added example with flow * Fixed linting errors