Merge pull request #2320 from dpalou/MOBILE-3269
MOBILE-3269 core: Fix return type of objectToKeyValueMap
This commit is contained in:
commit
e41762e5ea
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user