5 ms·
> Missing Features — HOFs, Composition Uh... I'm pretty sure I've used both in TypeScript projects.
by asark 8y ago
> Missing Features — HOFs, Composition
Uh... I'm pretty sure I've used both in TypeScript projects.
- dvlsg 8y agoYeah, I use both all the time. I will admit I have to pass type hints via generics to my compose / pipe calls more often than I would like, but it definitely still works.
- pgrizzay 8y agoThis was the most infuriating part. He either doesn't understand what a hof is, is actively lying, or just hasn't even used typescript long enough to understand this is incorrect.
- ericelliott 8y agoPlease show me the proper typing of the map transducer in TypeScript. I'm willing to learn.
- ng12 8y agoIt would seem that someone's done it already: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/transducers-js/index.d.ts#L70 https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast...