From 0f7572cf6dcbce8ac02ec5c52bed0244c24afa4d Mon Sep 17 00:00:00 2001 From: Chafik Date: Fri, 6 Apr 2018 14:58:34 +0200 Subject: [PATCH] Add missing flow annotations --- example/src/__mocks__/react-native-i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/__mocks__/react-native-i18n.js b/example/src/__mocks__/react-native-i18n.js index 3c25f56..c2b0831 100644 --- a/example/src/__mocks__/react-native-i18n.js +++ b/example/src/__mocks__/react-native-i18n.js @@ -3,5 +3,5 @@ import I18nJs from 'i18n-js'; I18nJs.locale = 'en'; // a locale from your available translations -export const getLanguages = () => Promise.resolve(['en']); +export const getLanguages = (): Promise => Promise.resolve(['en']); export default I18nJs;