Type cast
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 1 Jan 2021 23:48:17 +0000 (00:48 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 1 Jan 2021 23:48:17 +0000 (00:48 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/Configuration.ts

index 760695253531f6c64863315287eb36063895b5a7..ca98427eb87cee39c22c6a720e5998599e2fbabb 100644 (file)
@@ -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 {