© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Defining Expected Return Value in `Match` - Effect Community
EC
Effect Community
•
3y ago
•
4 replies
sandromaglione
Defining Expected Return Value in `Match`
Is there a way in
Match
Match
to define the expected return value
?
ts-pattern
ts-pattern
for example has
.returnType
.returnType
(
https://github.com/gvergnaud/ts-pattern?tab=readme-ov-file#returntype
)
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
Ignoring Finalizer Return Value in Streams
EC
Effect Community / 🚀-effect
11mo ago
Defining tags in TypeScript
EC
Effect Community / 🚀-effect
3y ago
Matching Tuples with Match in Effect Typescript
EC
Effect Community / 🚀-effect
10mo ago
Defining `_tag` Fields in Libraries
EC
Effect Community / 🚀-effect
2y ago