Search
Feedback
Setup for Free
EC
Effect Community
•
3y ago
•
6 replies
Patrick Roza
Fixing Inference Errors with `as const`
in latest effect we either lost some inference
, or some error silencing was fixed
adding
as const
as const
to the
_tag fixes it
Effect Community
Join
Production-grade applications in TypeScript.
5,916
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
as const
as const
Similar Threads
Effect.all() not considering constant arrays as const
EC
Effect Community / effect-🚀
3y ago
Using `as const` with `Match.withReturnType` in TypeScript
EC
Effect Community / effect-🚀
11mo ago
Workaround for Constructor Argument Inference with Optional Class Fields
EC
Effect Community / schema
2y ago
Issues with Effect `.d.ts` files and `<const ...` generics causing compilation errors
EC
Effect Community / effect-beginners-🚀
3y ago