DefinitelyTyped/types/react-native-i18n/index.d.ts
Vincent Langlet 13a7c42013 [react-native-i18n] Add type for react-native-i18n module (#24790)
* Add type for react-native-i18n

* Fix tests with correct typescript version
2018-04-09 09:59:36 -07:00

12 lines
386 B
TypeScript

// Type definitions for react-native-i18n 2.0
// Project: https://github.com/AlexanderZaytsev/react-native-i18n
// Definitions by: Vincent Langlet <https://github.com/VincentLanglet>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
import I18n = require("i18n-js");
export function getLanguages(): Promise<string[]>;
export default I18n;