flow type fix

This commit is contained in:
Mikhail Mikheev 2019-04-22 18:46:41 +04:00
parent c6110fc8c2
commit 3e62d3b7be
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const loadActiveTokens = () => async (dispatch: ReduxDispatch<GlobalState>) => {
const tokens: Map<string, TokenProps> = await getActiveTokens()
const tokenRecordsList: List<Token> = List(
Object.values(tokens).map(token => makeToken(token)),
Object.values(tokens).map((token: TokenProps): Token => makeToken(token)),
)
dispatch(saveTokens(tokenRecordsList))