Forcing `Effect.filterOrFail` or TypeScript to track refinement
Is there any way to force
This is still inferred as
Effect.filterOrFail, or TS, to keep track of the refinement?This is still inferred as
number[] instead of NonEmptyReadonlyArray<number>