Methods
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
defaults
- defaults(defaults: {}): void
Static Private recursiveDefaults
- recursiveDefaults(config: {}, defaults: {}): {}
required
- required(keys: string[]): void