Skip to content

Commit d9e8513

Browse files
committed
MOBILE-3269 core: Fix return type of objectToKeyValueMap
1 parent 4442a18 commit d9e8513

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)