EnvironmentDefaults
EnvironmentDefaults =
Partial<Record<EnvironmentName,string>>
Defined in: packages/env/src/types.ts:65
Per-environment default values for a var binding.
Keys are EnvironmentName values; not every environment needs an entry.
When the current environment has no matching key and no value is provided,
init() throws an error.
Example
Section titled “Example”const defaults: EnvironmentDefaults = { development: "http://localhost:8787", staging: "https://staging.myapp.com", production: "https://myapp.com",};