From: Jérôme Benoit Date: Fri, 1 Jan 2021 23:48:17 +0000 (+0100) Subject: Type cast X-Git-Tag: v1.0.1-0~152^2~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b3f9c51558e73be4ce7915d6dbcb40f1378ba89e;p=e-mobility-charging-stations-simulator.git Type cast Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Configuration.ts b/src/utils/Configuration.ts index 76069525..ca98427e 100644 --- a/src/utils/Configuration.ts +++ b/src/utils/Configuration.ts @@ -100,7 +100,7 @@ export default class Configuration { } private static objectHasOwnProperty(object: any, property: string): boolean { - return Object.prototype.hasOwnProperty.call(object, property); + return Object.prototype.hasOwnProperty.call(object, property) as boolean; } private static isUndefined(obj: any): boolean {