Methods
defaults
- defaults(defaults: {}): void
get
- get<T>(key: string, defaultValue?: unknown): T
-
Type parameters
Parameters
-
key: string
-
Optional defaultValue: unknown
Returns T
has
- has(key: string): boolean
-
Parameters
Returns boolean
hasValue
- hasValue(key: string): boolean
-
Parameters
Returns boolean
required
- required(keys: string[]): void
Static Private recursiveDefaults
- recursiveDefaults(config: {}, defaults: {}): {}