Improving `Config.literal` Construction for Specific Literal Types in TypeScript
Is there a better way to construct a
If I remove the
Config.literal with a default value? If I remove the
as const then mode is of type string when it should be the literal values of "dev" | "live"