@rws-framework/client 2.9.22 → 2.9.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -29,9 +29,9 @@ class ConfigService extends TheService {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
const isInDefaults: boolean = Object.keys(this._DEFAULTS).includes(key);
|
|
33
|
-
const isInData: boolean = Object.keys(this.data).includes(key);
|
|
34
|
-
const isInBuildVars: boolean = Object.keys(this._BUILD_OVERRIDE).includes(key);
|
|
32
|
+
const isInDefaults: boolean = Object.keys(this._DEFAULTS).includes(key as string);
|
|
33
|
+
const isInData: boolean = Object.keys(this.data).includes(key as string);
|
|
34
|
+
const isInBuildVars: boolean = Object.keys(this._BUILD_OVERRIDE).includes(key as string);
|
|
35
35
|
|
|
36
36
|
let isDev = false;
|
|
37
37
|
|
|
@@ -50,7 +50,7 @@ class ConfigService extends TheService {
|
|
|
50
50
|
defaultVal = this.data[((defaultVal as string).slice(1)) as keyof IRWSConfig];
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
if(isInBuildVars && Object.keys(this._BUILD_OVERRIDE).includes(key)){
|
|
53
|
+
if(isInBuildVars && Object.keys(this._BUILD_OVERRIDE).includes(key as string)){
|
|
54
54
|
if(isDev){
|
|
55
55
|
console.warn(`.rws.json override [${key}]:`), this._BUILD_OVERRIDE[key];
|
|
56
56
|
}
|