Open tim-smart opened 2 years ago
Quick update, created a small package for this: https://github.com/tim-smart/strict-callbag
I also added an error type to the talkback arguments, as often a sink can fail with an error (writing a file to disk can fail etc)
Would the Typescript community benefit from stricter types? It saves a few headaches when your compiler can hold your hand a bit more :)
A few things I would be looking for:
Here is something I have been using: