{"action":"created","issue":{"url":"https://api.github.com/repos/primus/primus/issues/552","repository_url":"https://api.github.com/repos/primus/primus","labels_url":"https://api.github.com/repos/primus/primus/issues/552/labels{/name}","comments_url":"https://api.github.com/repos/primus/primus/issues/552/comments","events_url":"https://api.github.com/repos/primus/primus/issues/552/events","html_url":"https://github.com/primus/primus/issues/552","id":210330679,"number":552,"title":"Better typescript support","user":{"login":"ad-venture","id":20825836,"avatar_url":"https://avatars.githubusercontent.com/u/20825836?v=3","gravatar_id":"","url":"https://api.github.com/users/ad-venture","html_url":"https://github.com/ad-venture","followers_url":"https://api.github.com/users/ad-venture/followers","following_url":"https://api.github.com/users/ad-venture/following{/other_user}","gists_url":"https://api.github.com/users/ad-venture/gists{/gist_id}","starred_url":"https://api.github.com/users/ad-venture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad-venture/subscriptions","organizations_url":"https://api.github.com/users/ad-venture/orgs","repos_url":"https://api.github.com/users/ad-venture/repos","events_url":"https://api.github.com/users/ad-venture/events{/privacy}","received_events_url":"https://api.github.com/users/ad-venture/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-26T16:45:27Z","updated_at":"2017-02-26T19:32:32Z","closed_at":null,"body":"**Version:**\r\n6.1.0\r\n\r\n**Environment:**\r\n  - **Operating system:** Any\r\n  - **Browser:** Any\r\n  - **Node.js:** 7.3.0\r\n  - **typescript** 2.2.1.0\r\n\r\n**Expected result:**\r\nThe typescript definition file should be recognized automatically.\r\n\r\n**Actual result:**\r\nWe need to add `/// <reference path=\"./node_modules/primus/primus.d.ts\" />` to every file\r\n\r\n**Steps to solve it:**\r\nAdd the following row to the package.json file\r\n`\"typings\": \"primus.d.ts\"`\r\n"},"comment":{"url":"https://api.github.com/repos/primus/primus/issues/comments/282580510","html_url":"https://github.com/primus/primus/issues/552#issuecomment-282580510","issue_url":"https://api.github.com/repos/primus/primus/issues/552","id":282580510,"user":{"login":"lpinca","id":1443911,"avatar_url":"https://avatars.githubusercontent.com/u/1443911?v=3","gravatar_id":"","url":"https://api.github.com/users/lpinca","html_url":"https://github.com/lpinca","followers_url":"https://api.github.com/users/lpinca/followers","following_url":"https://api.github.com/users/lpinca/following{/other_user}","gists_url":"https://api.github.com/users/lpinca/gists{/gist_id}","starred_url":"https://api.github.com/users/lpinca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpinca/subscriptions","organizations_url":"https://api.github.com/users/lpinca/orgs","repos_url":"https://api.github.com/users/lpinca/repos","events_url":"https://api.github.com/users/lpinca/events{/privacy}","received_events_url":"https://api.github.com/users/lpinca/received_events","type":"User","site_admin":false},"created_at":"2017-02-26T19:32:31Z","updated_at":"2017-02-26T19:32:31Z","body":"I think @lholznagel is preparing a new PR to fix everything. If you want to submit a PR to fix the package.json go ahead but it will not be in release immediately."}}
{"actor":{"display_login":"lpinca"}}