mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 12:06:47 +08:00
Fixes flow error
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user