From 785e0b836cca4ac195b48ac04f94025f38d5285d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 19 Dec 2022 13:48:12 -0500 Subject: [PATCH] *Pass fallback to objectPath.get --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {