Skip to content

@adrianhall/cloudflare-toolkit


@adrianhall/cloudflare-toolkit / index / Environment

Type Alias: Environment

Environment = "test" | "development" | "production" | string & object

Defined in: src/lib/logging/types.ts:132

Environment hint for resolveLoggerConfig. The (string & {}) tail keeps the type open for custom environment names while preserving autocomplete for the well-known values.