Fixes flow error
This commit is contained in:
parent
dfa8639743
commit
eed9ccbfd4
@ -110,7 +110,7 @@ export default class RemoteConfig extends Base {
|
|||||||
return FirebaseRemoteConfig
|
return FirebaseRemoteConfig
|
||||||
.getValues(keys || [])
|
.getValues(keys || [])
|
||||||
.then((nativeValues) => {
|
.then((nativeValues) => {
|
||||||
const values = {};
|
const values:{[String]: Object} = {};
|
||||||
for (let i = 0, len = keys.length; i < len; i++) {
|
for (let i = 0, len = keys.length; i < len; i++) {
|
||||||
values[keys[i]] = this._nativeValueToJS(nativeValues[i]);
|
values[keys[i]] = this._nativeValueToJS(nativeValues[i]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user