Skip to content

Commit

Permalink
Merge pull request AlexanderZaytsev#181 from c100k/patch-1
Browse files Browse the repository at this point in the history
Add missing flow annotations
  • Loading branch information
zoontek authored Apr 21, 2018
2 parents 356a427 + 0f7572c commit 39d027c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/__mocks__/react-native-i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<string[]> => Promise.resolve(['en']);
export default I18nJs;

0 comments on commit 39d027c

Please sign in to comment.