{"action":"created","issue":{"url":"https://api.github.com/repos/AlexanderZaytsev/react-native-i18n/issues/176","repository_url":"https://api.github.com/repos/AlexanderZaytsev/react-native-i18n","labels_url":"https://api.github.com/repos/AlexanderZaytsev/react-native-i18n/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/AlexanderZaytsev/react-native-i18n/issues/176/comments","events_url":"https://api.github.com/repos/AlexanderZaytsev/react-native-i18n/issues/176/events","html_url":"https://github.com/AlexanderZaytsev/react-native-i18n/issues/176","id":305504759,"number":176,"title":"TypeScript definitions","user":{"login":"wyzzy","id":24669998,"avatar_url":"https://avatars1.githubusercontent.com/u/24669998?v=4","gravatar_id":"","url":"https://api.github.com/users/wyzzy","html_url":"https://github.com/wyzzy","followers_url":"https://api.github.com/users/wyzzy/followers","following_url":"https://api.github.com/users/wyzzy/following{/other_user}","gists_url":"https://api.github.com/users/wyzzy/gists{/gist_id}","starred_url":"https://api.github.com/users/wyzzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyzzy/subscriptions","organizations_url":"https://api.github.com/users/wyzzy/orgs","repos_url":"https://api.github.com/users/wyzzy/repos","events_url":"https://api.github.com/users/wyzzy/events{/privacy}","received_events_url":"https://api.github.com/users/wyzzy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-15T11:02:04Z","updated_at":"2018-03-30T08:45:39Z","closed_at":null,"author_association":"NONE","body":"This library seems to be the leading option for localising React Native apps. Would be great if it included TypeScript definitions as well! Any plans to add them?"},"comment":{"url":"https://api.github.com/repos/AlexanderZaytsev/react-native-i18n/issues/comments/377479951","html_url":"https://github.com/AlexanderZaytsev/react-native-i18n/issues/176#issuecomment-377479951","issue_url":"https://api.github.com/repos/AlexanderZaytsev/react-native-i18n/issues/176","id":377479951,"user":{"login":"wyc777","id":33638760,"avatar_url":"https://avatars1.githubusercontent.com/u/33638760?v=4","gravatar_id":"","url":"https://api.github.com/users/wyc777","html_url":"https://github.com/wyc777","followers_url":"https://api.github.com/users/wyc777/followers","following_url":"https://api.github.com/users/wyc777/following{/other_user}","gists_url":"https://api.github.com/users/wyc777/gists{/gist_id}","starred_url":"https://api.github.com/users/wyc777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyc777/subscriptions","organizations_url":"https://api.github.com/users/wyc777/orgs","repos_url":"https://api.github.com/users/wyc777/repos","events_url":"https://api.github.com/users/wyc777/events{/privacy}","received_events_url":"https://api.github.com/users/wyc777/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T08:45:39Z","updated_at":"2018-03-30T08:45:39Z","author_association":"NONE","body":"Thanks @sheva007 - your solution will only work in an Expo app though. The reason I'm interested in this library is I have to integrate RN functionality into an existing native app, and this module provides the RN bridge functionality to get the device's current locale. Actually that is all this library does, other than also wrapping i18n-js, so I can see that if you're using Expo, you don't actually need this module. \r\n\r\nI'm just not bothering with typings for this small module, and it's working fine. "}}
{"actor":{"display_login":"wyc777"}}