I'm having some issue with the types for a nested Array which I want to flatten. To do this, I created a Flatten-Schema which looks like this:
S.Schema<Array<A>, Array<Array<I>>, R>
S.Schema<Array<A>, Array<Array<I>>, R>
. However when I try to use it with a more complex schema, I get typescript Errors. (Running the code anyways results in the correct result, just a typing issue).