Effect CommunityEC
Effect Community2y ago
15 replies
Stephen Bluck

Unexpected false in Inferred Type

I'm not sure I would expect false in the inferred type here. I was expecting an error.
// Config.Config<false | "all" | "info">
const LoggerLevel = Config.literal("all", "info")("LOG_LEVEL").pipe(Config.withDefault(false));
Was this page helpful?