node-env
Preparing search index...
EnvMappedField
Type Alias EnvMappedField<TValue, TOutput>
Config field definition used by
env.config.field(...)
.
type
EnvMappedField
<
TValue
,
TOutput
=
TValue
>
=
{
key
:
Uppercase
<
string
>
;
transform
?:
(
value
:
TValue
,
source
:
EnvSource
)
=>
TOutput
;
validator
:
Validator
<
TValue
>
;
}
Type Parameters
TValue
TOutput
=
TValue
Index
Properties
key
transform?
validator
Properties
Readonly
key
key
:
Uppercase
<
string
>
Optional
Readonly
transform
transform
?:
(
value
:
TValue
,
source
:
EnvSource
)
=>
TOutput
Readonly
validator
validator
:
Validator
<
TValue
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
key
transform
validator
node-env
Loading...
Config field definition used by
env.config.field(...).