},
};
if (Configuration.objectHasOwnProperty(Configuration.getConfig(), 'uiServer')) {
- uiServerConfiguration = Configuration.merge(
- uiServerConfiguration,
- Configuration.getConfig().uiServer
- );
+ uiServerConfiguration = merge(uiServerConfiguration, Configuration.getConfig().uiServer);
}
if (Configuration.isCFEnvironment() === true) {
delete uiServerConfiguration.options.host;
}
}
- // private static isObject(item: unknown): boolean {
- // return item && typeof item === 'object' && Array.isArray(item) === false;
- // }
-
private static objectHasOwnProperty(object: unknown, property: string): boolean {
return Object.prototype.hasOwnProperty.call(object, property) as boolean;
}
return typeof obj === 'undefined';
}
- private static merge(target: object, ...sources: object[]): object {
- return merge(target, ...sources);
- }
-
private static handleFileException(
logPrefix: string,
fileType: FileType,
);
}
+ public static isObject(item: unknown): boolean {
+ return item && typeof item === 'object' && Array.isArray(item) === false;
+ }
+
public static cloneObject<T extends object>(object: T): T {
return clone<T>(object);
}