{"action":"created","comment":{"url":"https://api.github.com/repos/angular/sickle/pulls/comments/54939421","id":54939421,"diff_hunk":"@@ -1,5 +1,17 @@\n-declare module DeclareTest {\n+declare module DeclareTestModule {\n   export class Foo {\n     constructor();\n   }\n }\n+\n+declare interface DeclareTestInterface {","path":"test_files/declare.sickle.ts","position":8,"original_position":8,"commit_id":"f2c06592ec26a70b99fb91e32c239a746c7d5021","original_commit_id":"f2c06592ec26a70b99fb91e32c239a746c7d5021","user":{"login":"martine","id":3847,"avatar_url":"https://avatars.githubusercontent.com/u/3847?v=3","gravatar_id":"","url":"https://api.github.com/users/martine","html_url":"https://github.com/martine","followers_url":"https://api.github.com/users/martine/followers","following_url":"https://api.github.com/users/martine/following{/other_user}","gists_url":"https://api.github.com/users/martine/gists{/gist_id}","starred_url":"https://api.github.com/users/martine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martine/subscriptions","organizations_url":"https://api.github.com/users/martine/orgs","repos_url":"https://api.github.com/users/martine/repos","events_url":"https://api.github.com/users/martine/events{/privacy}","received_events_url":"https://api.github.com/users/martine/received_events","type":"User","site_admin":false},"body":"It also works to use an @interface here, but I was afraid of that because I don't know the full consequences of all these crazy Closure attributes.  (Like I think you meant @struct, not @record ?)","created_at":"2016-03-03T20:04:10Z","updated_at":"2016-03-03T20:04:10Z","html_url":"https://github.com/angular/sickle/pull/81#discussion_r54939421","pull_request_url":"https://api.github.com/repos/angular/sickle/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/angular/sickle/pulls/comments/54939421"},"html":{"href":"https://github.com/angular/sickle/pull/81#discussion_r54939421"},"pull_request":{"href":"https://api.github.com/repos/angular/sickle/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/angular/sickle/pulls/81","id":61490542,"html_url":"https://github.com/angular/sickle/pull/81","diff_url":"https://github.com/angular/sickle/pull/81.diff","patch_url":"https://github.com/angular/sickle/pull/81.patch","issue_url":"https://api.github.com/repos/angular/sickle/issues/81","number":81,"state":"open","locked":false,"title":"translate \"declare interface\" as \"@export all fields\"","user":{"login":"martine","id":3847,"avatar_url":"https://avatars.githubusercontent.com/u/3847?v=3","gravatar_id":"","url":"https://api.github.com/users/martine","html_url":"https://github.com/martine","followers_url":"https://api.github.com/users/martine/followers","following_url":"https://api.github.com/users/martine/following{/other_user}","gists_url":"https://api.github.com/users/martine/gists{/gist_id}","starred_url":"https://api.github.com/users/martine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martine/subscriptions","organizations_url":"https://api.github.com/users/martine/orgs","repos_url":"https://api.github.com/users/martine/repos","events_url":"https://api.github.com/users/martine/events{/privacy}","received_events_url":"https://api.github.com/users/martine/received_events","type":"User","site_admin":false},"body":"To do so, refactor the annotations helper logic so that\r\nit can be used from multiple places where the fields have\r\nlots of different incompatible types.","created_at":"2016-03-03T00:14:27Z","updated_at":"2016-03-03T20:04:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6dadf9a70e25acd26917361a9b5cfed60d93e3f8","assignee":{"login":"mprobst","id":7208,"avatar_url":"https://avatars.githubusercontent.com/u/7208?v=3","gravatar_id":"","url":"https://api.github.com/users/mprobst","html_url":"https://github.com/mprobst","followers_url":"https://api.github.com/users/mprobst/followers","following_url":"https://api.github.com/users/mprobst/following{/other_user}","gists_url":"https://api.github.com/users/mprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/mprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprobst/subscriptions","organizations_url":"https://api.github.com/users/mprobst/orgs","repos_url":"https://api.github.com/users/mprobst/repos","events_url":"https://api.github.com/users/mprobst/events{/privacy}","received_events_url":"https://api.github.com/users/mprobst/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/angular/sickle/pulls/81/commits","review_comments_url":"https://api.github.com/repos/angular/sickle/pulls/81/comments","review_comment_url":"https://api.github.com/repos/angular/sickle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/sickle/issues/81/comments","statuses_url":"https://api.github.com/repos/angular/sickle/statuses/f2c06592ec26a70b99fb91e32c239a746c7d5021","head":{"label":"martine:declare-interface","ref":"declare-interface","sha":"f2c06592ec26a70b99fb91e32c239a746c7d5021","user":{"login":"martine","id":3847,"avatar_url":"https://avatars.githubusercontent.com/u/3847?v=3","gravatar_id":"","url":"https://api.github.com/users/martine","html_url":"https://github.com/martine","followers_url":"https://api.github.com/users/martine/followers","following_url":"https://api.github.com/users/martine/following{/other_user}","gists_url":"https://api.github.com/users/martine/gists{/gist_id}","starred_url":"https://api.github.com/users/martine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martine/subscriptions","organizations_url":"https://api.github.com/users/martine/orgs","repos_url":"https://api.github.com/users/martine/repos","events_url":"https://api.github.com/users/martine/events{/privacy}","received_events_url":"https://api.github.com/users/martine/received_events","type":"User","site_admin":false},"repo":{"id":49169487,"name":"sickle","full_name":"martine/sickle","owner":{"login":"martine","id":3847,"avatar_url":"https://avatars.githubusercontent.com/u/3847?v=3","gravatar_id":"","url":"https://api.github.com/users/martine","html_url":"https://github.com/martine","followers_url":"https://api.github.com/users/martine/followers","following_url":"https://api.github.com/users/martine/following{/other_user}","gists_url":"https://api.github.com/users/martine/gists{/gist_id}","starred_url":"https://api.github.com/users/martine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martine/subscriptions","organizations_url":"https://api.github.com/users/martine/orgs","repos_url":"https://api.github.com/users/martine/repos","events_url":"https://api.github.com/users/martine/events{/privacy}","received_events_url":"https://api.github.com/users/martine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/martine/sickle","description":"Tickle - TypeScript to Closure Annotator","fork":true,"url":"https://api.github.com/repos/martine/sickle","forks_url":"https://api.github.com/repos/martine/sickle/forks","keys_url":"https://api.github.com/repos/martine/sickle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/martine/sickle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/martine/sickle/teams","hooks_url":"https://api.github.com/repos/martine/sickle/hooks","issue_events_url":"https://api.github.com/repos/martine/sickle/issues/events{/number}","events_url":"https://api.github.com/repos/martine/sickle/events","assignees_url":"https://api.github.com/repos/martine/sickle/assignees{/user}","branches_url":"https://api.github.com/repos/martine/sickle/branches{/branch}","tags_url":"https://api.github.com/repos/martine/sickle/tags","blobs_url":"https://api.github.com/repos/martine/sickle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/martine/sickle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/martine/sickle/git/refs{/sha}","trees_url":"https://api.github.com/repos/martine/sickle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/martine/sickle/statuses/{sha}","languages_url":"https://api.github.com/repos/martine/sickle/languages","stargazers_url":"https://api.github.com/repos/martine/sickle/stargazers","contributors_url":"https://api.github.com/repos/martine/sickle/contributors","subscribers_url":"https://api.github.com/repos/martine/sickle/subscribers","subscription_url":"https://api.github.com/repos/martine/sickle/subscription","commits_url":"https://api.github.com/repos/martine/sickle/commits{/sha}","git_commits_url":"https://api.github.com/repos/martine/sickle/git/commits{/sha}","comments_url":"https://api.github.com/repos/martine/sickle/comments{/number}","issue_comment_url":"https://api.github.com/repos/martine/sickle/issues/comments{/number}","contents_url":"https://api.github.com/repos/martine/sickle/contents/{+path}","compare_url":"https://api.github.com/repos/martine/sickle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/martine/sickle/merges","archive_url":"https://api.github.com/repos/martine/sickle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/martine/sickle/downloads","issues_url":"https://api.github.com/repos/martine/sickle/issues{/number}","pulls_url":"https://api.github.com/repos/martine/sickle/pulls{/number}","milestones_url":"https://api.github.com/repos/martine/sickle/milestones{/number}","notifications_url":"https://api.github.com/repos/martine/sickle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/martine/sickle/labels{/name}","releases_url":"https://api.github.com/repos/martine/sickle/releases{/id}","deployments_url":"https://api.github.com/repos/martine/sickle/deployments","created_at":"2016-01-07T00:05:12Z","updated_at":"2016-01-12T21:47:15Z","pushed_at":"2016-03-03T00:03:52Z","git_url":"git://github.com/martine/sickle.git","ssh_url":"git@github.com:martine/sickle.git","clone_url":"https://github.com/martine/sickle.git","svn_url":"https://github.com/martine/sickle","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"9c2ff49c7441caceae46911fde5bd8c9117b3881","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":43722735,"name":"sickle","full_name":"angular/sickle","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/sickle","description":"Tickle - TypeScript to Closure Annotator","fork":false,"url":"https://api.github.com/repos/angular/sickle","forks_url":"https://api.github.com/repos/angular/sickle/forks","keys_url":"https://api.github.com/repos/angular/sickle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/sickle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/sickle/teams","hooks_url":"https://api.github.com/repos/angular/sickle/hooks","issue_events_url":"https://api.github.com/repos/angular/sickle/issues/events{/number}","events_url":"https://api.github.com/repos/angular/sickle/events","assignees_url":"https://api.github.com/repos/angular/sickle/assignees{/user}","branches_url":"https://api.github.com/repos/angular/sickle/branches{/branch}","tags_url":"https://api.github.com/repos/angular/sickle/tags","blobs_url":"https://api.github.com/repos/angular/sickle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/sickle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/sickle/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/sickle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/sickle/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/sickle/languages","stargazers_url":"https://api.github.com/repos/angular/sickle/stargazers","contributors_url":"https://api.github.com/repos/angular/sickle/contributors","subscribers_url":"https://api.github.com/repos/angular/sickle/subscribers","subscription_url":"https://api.github.com/repos/angular/sickle/subscription","commits_url":"https://api.github.com/repos/angular/sickle/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/sickle/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/sickle/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/sickle/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/sickle/contents/{+path}","compare_url":"https://api.github.com/repos/angular/sickle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/sickle/merges","archive_url":"https://api.github.com/repos/angular/sickle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/sickle/downloads","issues_url":"https://api.github.com/repos/angular/sickle/issues{/number}","pulls_url":"https://api.github.com/repos/angular/sickle/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/sickle/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/sickle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/sickle/labels{/name}","releases_url":"https://api.github.com/repos/angular/sickle/releases{/id}","deployments_url":"https://api.github.com/repos/angular/sickle/deployments","created_at":"2015-10-06T00:55:40Z","updated_at":"2016-02-25T00:58:53Z","pushed_at":"2016-03-03T00:14:27Z","git_url":"git://github.com/angular/sickle.git","ssh_url":"git@github.com:angular/sickle.git","clone_url":"https://github.com/angular/sickle.git","svn_url":"https://github.com/angular/sickle","homepage":null,"size":96,"stargazers_count":12,"watchers_count":12,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":19,"forks":2,"open_issues":19,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/sickle/pulls/81"},"html":{"href":"https://github.com/angular/sickle/pull/81"},"issue":{"href":"https://api.github.com/repos/angular/sickle/issues/81"},"comments":{"href":"https://api.github.com/repos/angular/sickle/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/sickle/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/sickle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/sickle/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/angular/sickle/statuses/f2c06592ec26a70b99fb91e32c239a746c7d5021"}}}}