© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Callback Parameter Inference Issue with `Match.discriminatorsExhaustive` - Effect Community
EC
Effect Community
•
2y ago
Federico Biccheddu
Callback Parameter Inference Issue with `Match.discriminatorsExhaustive`
I was using
Match.discriminatorsExhaustive
Match.discriminatorsExhaustive
, but every callback
's parameter is inferred as
never
never
:
https://effect.website/play#51dae5c996bf
It works only using
Match.when
Match.when
. Am I doing something wrong
?
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
TypeScript Inference Issue with Shortened Function
EC
Effect Community / 🚀-effect
7mo ago
Issue with `Match.when` Type Inference and Handling `void` Type in Effect Typescript
EC
Effect Community / 🚀-effect
15mo ago
Issue with `Match` on Generic Functions
EC
Effect Community / 🚀-effect
13mo ago
Type Inference Issue with BetterAuthClient in Generator Function
EC
Effect Community / 🚀-effect
5mo ago