{"action":"created","issue":{"url":"https://api.github.com/repos/joarwilk/typedef-converter/issues/11","repository_url":"https://api.github.com/repos/joarwilk/typedef-converter","labels_url":"https://api.github.com/repos/joarwilk/typedef-converter/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/joarwilk/typedef-converter/issues/11/comments","events_url":"https://api.github.com/repos/joarwilk/typedef-converter/issues/11/events","html_url":"https://github.com/joarwilk/typedef-converter/issues/11","id":194680688,"number":11,"title":"support for global declarations","user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-09T19:45:05Z","updated_at":"2016-12-10T04:41:37Z","closed_at":null,"body":"When using a .d.ts file to declare global interfaces, e.g.:\r\n\r\n```ts\r\ninterface AttrDef {\r\n    propName: string;\r\n}\r\n```\r\n\r\nthe converter will produce:\r\n\r\n```js\r\ndeclare module 'root' {\r\n\tdeclare interface AttrDef {\r\n\t\tpropName: string\r\n\t}\r\n}\r\n```\r\n\r\nIs is possible to produce just:\r\n\r\n```js\r\ndeclare interface AttrDef {\r\n\tpropName: string\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/joarwilk/typedef-converter/issues/comments/266178699","html_url":"https://github.com/joarwilk/typedef-converter/issues/11#issuecomment-266178699","issue_url":"https://api.github.com/repos/joarwilk/typedef-converter/issues/11","id":266178699,"user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T04:41:37Z","updated_at":"2016-12-10T04:41:37Z","body":"that sounds perfect."}}
{"actor":{"display_login":"caridy"}}