Narrowing Types in a Discriminated Union with Effect.filter
I feel like I'm going crazy with this. I've got a discriminated union and I want to extract blocks of a specific
kind and get a subset of that array. However the types are not being narrowed properly. How can I approach this?