Package: effect
Module: Config
Constructs a config for a literal value.
Example
import { Config } from "effect"
const config = Config.literal("http", "https")("PROTOCOL")
Signature
declare const literal: <Literals extends ReadonlyArray<LiteralValue>>(...literals: Literals) => (name?: string) => Config<Literals[number]>
Since v2.0.0