{"action":"created","issue":{"url":"https://api.github.com/repos/stefalda/react-localization/issues/7","repository_url":"https://api.github.com/repos/stefalda/react-localization","labels_url":"https://api.github.com/repos/stefalda/react-localization/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/stefalda/react-localization/issues/7/comments","events_url":"https://api.github.com/repos/stefalda/react-localization/issues/7/events","html_url":"https://github.com/stefalda/react-localization/issues/7","id":171951084,"number":7,"title":"Add typescript definitions (d.ts)","user":{"login":"aventurella","id":75315,"avatar_url":"https://avatars.githubusercontent.com/u/75315?v=3","gravatar_id":"","url":"https://api.github.com/users/aventurella","html_url":"https://github.com/aventurella","followers_url":"https://api.github.com/users/aventurella/followers","following_url":"https://api.github.com/users/aventurella/following{/other_user}","gists_url":"https://api.github.com/users/aventurella/gists{/gist_id}","starred_url":"https://api.github.com/users/aventurella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aventurella/subscriptions","organizations_url":"https://api.github.com/users/aventurella/orgs","repos_url":"https://api.github.com/users/aventurella/repos","events_url":"https://api.github.com/users/aventurella/events{/privacy}","received_events_url":"https://api.github.com/users/aventurella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-18T17:01:30Z","updated_at":"2016-10-02T05:27:23Z","closed_at":null,"body":"http://definitelytyped.org/guides/contributing.html\r\n\r\n```typescript\r\ndeclare module \"react-localization\" {\r\n    interface LocalizedStringsMethods {\r\n        setLanguage(language: string): void;\r\n        getLanguage(): string;\r\n        getInterfaceLanguage(): string;\r\n        formatString(str: string, ...values: any[]): string\r\n        getAvailableLanguages(): string[]\r\n    }\r\n\r\n    interface LocalizedStringsFactory {\r\n        new (props: any): LocalizedStringsMethods;\r\n    }\r\n\r\n    var LocalizedStrings: LocalizedStringsFactory;\r\n    export = LocalizedStrings;\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/stefalda/react-localization/issues/comments/250954610","html_url":"https://github.com/stefalda/react-localization/issues/7#issuecomment-250954610","issue_url":"https://api.github.com/repos/stefalda/react-localization/issues/7","id":250954610,"user":{"login":"simopaasisalo","id":17126867,"avatar_url":"https://avatars.githubusercontent.com/u/17126867?v=3","gravatar_id":"","url":"https://api.github.com/users/simopaasisalo","html_url":"https://github.com/simopaasisalo","followers_url":"https://api.github.com/users/simopaasisalo/followers","following_url":"https://api.github.com/users/simopaasisalo/following{/other_user}","gists_url":"https://api.github.com/users/simopaasisalo/gists{/gist_id}","starred_url":"https://api.github.com/users/simopaasisalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simopaasisalo/subscriptions","organizations_url":"https://api.github.com/users/simopaasisalo/orgs","repos_url":"https://api.github.com/users/simopaasisalo/repos","events_url":"https://api.github.com/users/simopaasisalo/events{/privacy}","received_events_url":"https://api.github.com/users/simopaasisalo/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T05:27:23Z","updated_at":"2016-10-02T05:27:23Z","body":"@stefalda Hi,\r\nCould you also update the npm version to the newest one? It still has the old package.json, so there are still issues (at least for me) when npm install'ing from scratch.\r\n"}}
{"actor":{"display_login":"simopaasisalo"}}