*Pass fallback to objectPath.get
This commit is contained in:
parent
f69a12fb52
commit
785e0b836c
|
@ -160,7 +160,7 @@ export default class Config {
|
||||||
|
|
||||||
key = this.normalize(key);
|
key = this.normalize(key);
|
||||||
|
|
||||||
return objectPath.get(this.data, key);
|
return objectPath.get(this.data, key, fallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
public typeOf(key: string) {
|
public typeOf(key: string) {
|
||||||
|
|
Loading…
Reference in New Issue