Skip to content

Commit e41762e

Browse files
authored
Merge pull request #2320 from dpalou/MOBILE-3269
MOBILE-3269 core: Fix return type of objectToKeyValueMap
2 parents 61fc58e + d9e8513 commit e41762e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ export class CoreUtilsProvider {
11051105
* @param keyPrefix Key prefix if neededs to delete it.
11061106
* @return Object.
11071107
*/
1108-
objectToKeyValueMap(objects: object[], keyName: string, valueName: string, keyPrefix?: string): object {
1108+
objectToKeyValueMap(objects: object[], keyName: string, valueName: string, keyPrefix?: string): {[name: string]: any} {
11091109
if (!objects) {
11101110
return;
11111111
}

0 commit comments

Comments
 (0)