diff --git a/src/providers/utils/utils.ts b/src/providers/utils/utils.ts index 624371ac1..bedd0e4b0 100644 --- a/src/providers/utils/utils.ts +++ b/src/providers/utils/utils.ts @@ -1105,7 +1105,7 @@ export class CoreUtilsProvider { * @param keyPrefix Key prefix if neededs to delete it. * @return Object. */ - objectToKeyValueMap(objects: object[], keyName: string, valueName: string, keyPrefix?: string): object { + objectToKeyValueMap(objects: object[], keyName: string, valueName: string, keyPrefix?: string): {[name: string]: any} { if (!objects) { return; }