© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Effect.fn + Match.when loses parameter type (becomes any) - Effect Community
EC
Effect Community
•
3w ago
•
1 reply
David
Effect.fn + Match.when loses parameter type (becomes any)
Why does
Effect.fn
Effect.fn
not correctly infer the argument type when used with
Match.when
Match.when
? It turns into an
any
any
Repro
:
https://effect.website/play/#22fa3261bce5
Effect Documentation
Effect Playground
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Type Inference Issue with `Effect.fn` in TypeScript
EC
Effect Community / 🚀-effect
7mo ago
Specifying Return Type for `Effect.fn` in TypeScript
EC
Effect Community / 🚀-effect
8mo ago
Type error when using `Queue.offer` with `Effect.fn` and generic queue
EC
Effect Community / 🚀-effect
14mo ago
Effect.fn pipeables vs named curried Effect.fn for spans
EC
Effect Community / 🚀-effect
4w ago