Better HN
topnewbestaskshowjobs
Log inSign up

noppa

2 karma · joined Sep 19, 2017 (9y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

At least in Flow it's actually possible to properly type curried functions!

Here's a gist of the type definitions I'm using: https://gist.github.com/noppa/c600cc43fd44e33768efe6c6eec4a9...

I think something similar might work in TS too.

Demo: https://goo.gl/w3aPsw