Merge pull request #141 from Sparragus/fix/flow-error

[Flow fix] Annotate `values` in RemoteConfig#getValues
This commit is contained in:
Elliot Hesp 2017-06-02 09:57:51 +01:00 committed by GitHub
commit 3f94ad5b99
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}