I have no idea what can be done in this area yet, but wanted to open an issue for general discussion on the topic. Some relevant links: https://github.com/donnut/typescript-ramda/ https://github.com/facebook/flow/issues/172