{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/sickle/issues/113","repository_url":"https://api.github.com/repos/angular/sickle","labels_url":"https://api.github.com/repos/angular/sickle/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/angular/sickle/issues/113/comments","events_url":"https://api.github.com/repos/angular/sickle/issues/113/events","html_url":"https://github.com/angular/sickle/issues/113","id":143598063,"number":113,"title":"Use typechecker types for emitting untyped class properties","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-25T21:06:17Z","updated_at":"2016-03-25T21:06:17Z","closed_at":null,"body":"```js\r\nclass Foo {\r\n   bar = 'blah';\r\n}\r\n```\r\nbecomes\r\n```\r\nclass Foo {\r\n  constructor() {\r\n    this.bar = 'blah';\r\n  }\r\n  static _sickle_typeAnnotationsHelper() {\r\n    // <- note: no type here\r\n    Foo.prototype.bar;\r\n  }\r\n}\r\n```\r\n\r\nBecause the type isn't mentioned in the class declaration, it shows up without a type in the output."}}