© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Issue with nesting `Data.TaggedEnum` resulting in `never` type - Effect Community
EC
Effect Community
•
3y ago
•
88 replies
derrick
Issue with nesting `Data.TaggedEnum` resulting in `never` type
Running into something odd with
Data.TaggedEnum
Data.TaggedEnum
. When I try to nest one tagged enum type in another
, the result ends up being
never
never
. Wondering if this is a bug or working as designed
?
https://codesandbox.io/s/friendly-darkness-kl7vld?file=/src/index.ts:130-131
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
Next page
Similar Threads
Making Data.TaggedEnum Opaque in TypeScript
EC
Effect Community / 🚀-effect
3y ago
Serializing/Deserializing `Data.TaggedEnum` to/from JSON
EC
Effect Community / 🚀-effect
4mo ago
TypeScript Issue with Effect-HTTP Client Module: 'Unknown' and 'Never' Type Clash
EC
Effect Community / 🚀-effect
2y ago
Effect with Fiber Interruption Resulting in Sequential Cause
EC
Effect Community / 🚀-effect
3y ago