© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Defining a Recursive Union with Literals and Arrays - Effect Community
EC
Effect Community
•
14mo ago
No Side Effects
Defining a Recursive Union with Literals and Arrays
Is there a way to define a recursive union
? I am trying to represent a union of a few different literals
, as well as an array of those literals
.
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
Defining a Record with Optional Keys from Literals
EC
Effect Community / schema
14mo ago
Defining Union Type Schema with Classes
EC
Effect Community / schema
3y ago
Extracting Literals from a Branded Union in TypeScript
EC
Effect Community / schema
2y ago
Creating a Union of Literals from an Enum in TypeScript
EC
Effect Community / schema
2y ago