How to Automatically Infer Types in a TypeScript Functional Pipeline Using Higher-Order Transformer Functions?
I am building a simulator where an object is transformed step by step through various functions using pipe from fp-ts. To make the code more expressive, I’m using higher-order functions to create these transformers.