Skip to content

Commit

Permalink
Add missing flow annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
c100k authored Apr 6, 2018
1 parent 356a427 commit 0f7572c
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 0f7572c

Please sign in to comment.