Merge pull request #141 from Sparragus/fix/flow-error
[Flow fix] Annotate `values` in RemoteConfig#getValues
This commit is contained in:
commit
3f94ad5b99
|
@ -110,7 +110,7 @@ export default class RemoteConfig extends Base {
|
|||
return FirebaseRemoteConfig
|
||||
.getValues(keys || [])
|
||||
.then((nativeValues) => {
|
||||
const values = {};
|
||||
const values:{[String]: Object} = {};
|
||||
for (let i = 0, len = keys.length; i < len; i++) {
|
||||
values[keys[i]] = this._nativeValueToJS(nativeValues[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue