diff --git a/src/index.ts b/src/index.ts index 3c059a4..eca3073 100644 --- a/src/index.ts +++ b/src/index.ts @@ -160,7 +160,7 @@ export default class Config { key = this.normalize(key); - return objectPath.get(this.data, key); + return objectPath.get(this.data, key, fallback); } public typeOf(key: string) {