{"action":"created","issue":{"url":"https://api.github.com/repos/apache/royale-typedefs/issues/1","repository_url":"https://api.github.com/repos/apache/royale-typedefs","labels_url":"https://api.github.com/repos/apache/royale-typedefs/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/apache/royale-typedefs/issues/1/comments","events_url":"https://api.github.com/repos/apache/royale-typedefs/issues/1/events","html_url":"https://github.com/apache/royale-typedefs/issues/1","id":324628794,"number":1,"title":"externs for getters and setters","user":{"login":"kennylerma","id":1977536,"avatar_url":"https://avatars0.githubusercontent.com/u/1977536?v=4","gravatar_id":"","url":"https://api.github.com/users/kennylerma","html_url":"https://github.com/kennylerma","followers_url":"https://api.github.com/users/kennylerma/followers","following_url":"https://api.github.com/users/kennylerma/following{/other_user}","gists_url":"https://api.github.com/users/kennylerma/gists{/gist_id}","starred_url":"https://api.github.com/users/kennylerma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennylerma/subscriptions","organizations_url":"https://api.github.com/users/kennylerma/orgs","repos_url":"https://api.github.com/users/kennylerma/repos","events_url":"https://api.github.com/users/kennylerma/events{/privacy}","received_events_url":"https://api.github.com/users/kennylerma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"aharui","id":2131321,"avatar_url":"https://avatars1.githubusercontent.com/u/2131321?v=4","gravatar_id":"","url":"https://api.github.com/users/aharui","html_url":"https://github.com/aharui","followers_url":"https://api.github.com/users/aharui/followers","following_url":"https://api.github.com/users/aharui/following{/other_user}","gists_url":"https://api.github.com/users/aharui/gists{/gist_id}","starred_url":"https://api.github.com/users/aharui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aharui/subscriptions","organizations_url":"https://api.github.com/users/aharui/orgs","repos_url":"https://api.github.com/users/aharui/repos","events_url":"https://api.github.com/users/aharui/events{/privacy}","received_events_url":"https://api.github.com/users/aharui/received_events","type":"User","site_admin":false},"assignees":[{"login":"aharui","id":2131321,"avatar_url":"https://avatars1.githubusercontent.com/u/2131321?v=4","gravatar_id":"","url":"https://api.github.com/users/aharui","html_url":"https://github.com/aharui","followers_url":"https://api.github.com/users/aharui/followers","following_url":"https://api.github.com/users/aharui/following{/other_user}","gists_url":"https://api.github.com/users/aharui/gists{/gist_id}","starred_url":"https://api.github.com/users/aharui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aharui/subscriptions","organizations_url":"https://api.github.com/users/aharui/orgs","repos_url":"https://api.github.com/users/aharui/repos","events_url":"https://api.github.com/users/aharui/events{/privacy}","received_events_url":"https://api.github.com/users/aharui/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-19T13:13:09Z","updated_at":"2018-05-22T06:26:54Z","closed_at":null,"author_association":"NONE","body":"Currently, the below javascript will produce a public variable in the generated ActionScript using externc.  How do I notate the javascript to become a getter or setter?\r\n```\r\n/**\r\n * @type {number}\r\n */\r\ncreatejs.MovieClip.prototype.currentFrame;\r\n```"},"comment":{"url":"https://api.github.com/repos/apache/royale-typedefs/issues/comments/390877118","html_url":"https://github.com/apache/royale-typedefs/issues/1#issuecomment-390877118","issue_url":"https://api.github.com/repos/apache/royale-typedefs/issues/1","id":390877118,"user":{"login":"aharui","id":2131321,"avatar_url":"https://avatars1.githubusercontent.com/u/2131321?v=4","gravatar_id":"","url":"https://api.github.com/users/aharui","html_url":"https://github.com/aharui","followers_url":"https://api.github.com/users/aharui/followers","following_url":"https://api.github.com/users/aharui/following{/other_user}","gists_url":"https://api.github.com/users/aharui/gists{/gist_id}","starred_url":"https://api.github.com/users/aharui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aharui/subscriptions","organizations_url":"https://api.github.com/users/aharui/orgs","repos_url":"https://api.github.com/users/aharui/repos","events_url":"https://api.github.com/users/aharui/events{/privacy}","received_events_url":"https://api.github.com/users/aharui/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T06:26:54Z","updated_at":"2018-05-22T06:26:54Z","author_association":"CONTRIBUTOR","body":"It looks like the compiler only generates getter/setters if the variable is also implemented in an interface.  That's because interfaces can only have getter/setter functions and not vars.\r\n\r\nIn theory, code calling into the external class shouldn't care whether it is a var or getter/setter.  What is the use case where it matters?"}}
{"actor":{"display_login":"aharui"}}