Effect CommunityEC
Effect Community2y ago
16 replies
Kristian Notari

Troubleshooting Pipe Inference Issue with `NoInfer<T>` in TypeScript

Migrating from 2.0.0-next.60 to latest (2.3.4). I have an issue with the new NoInfer<T> for predicates/refinements. Is having troubles with pipe inference something that could occur? How to solve?

Example:
pipe(
  something,
  Effect.filterOrDieMessage(Predicate.isNotUndefined, "message")
)


The pipe has the error in the image
image.png
Was this page helpful?