{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular/issues/15488","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/15488/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/15488/comments","events_url":"https://api.github.com/repos/angular/angular/issues/15488/events","html_url":"https://github.com/angular/angular/issues/15488","id":216998479,"number":15488,"title":"No interface declaration needed for the OnInit hook to be called","user":{"login":"moniuch","id":681956,"avatar_url":"https://avatars1.githubusercontent.com/u/681956?v=3","gravatar_id":"","url":"https://api.github.com/users/moniuch","html_url":"https://github.com/moniuch","followers_url":"https://api.github.com/users/moniuch/followers","following_url":"https://api.github.com/users/moniuch/following{/other_user}","gists_url":"https://api.github.com/users/moniuch/gists{/gist_id}","starred_url":"https://api.github.com/users/moniuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moniuch/subscriptions","organizations_url":"https://api.github.com/users/moniuch/orgs","repos_url":"https://api.github.com/users/moniuch/repos","events_url":"https://api.github.com/users/moniuch/events{/privacy}","received_events_url":"https://api.github.com/users/moniuch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-25T19:40:28Z","updated_at":"2017-03-27T13:25:39Z","closed_at":"2017-03-27T13:25:39Z","body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING\r\n-->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report => search github for a similar issue or PR before submitting\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\n<!-- Describe how the bug manifests. -->\r\nClasses do not need to declare `implements` in order for the OnInit hook to be actually called. Might apply to other hooks as well.\r\n\r\n**Expected behavior**\r\n<!-- Describe what the behavior would be without the bug. -->\r\nNot being an expert, I would expect the implementation method would not be called without proper declaration.\r\n\r\n**Minimal reproduction of the problem with instructions**\r\nhttp://plnkr.co/edit/j1Ge1Qgs6NmclIBCDsJP?p=preview\r\n<!--\r\nIf the current behavior is a bug or you can illustrate your feature request better with an example, \r\nplease provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).\r\n-->\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n<!-- Describe the motivation or the concrete use case -->\r\n\r\n**Please tell us about your environment:**\r\n<!-- Operating system, IDE, package manager, HTTP server, ... -->\r\n2.4.9, 4.0.0\r\n\r\n* **Angular version:** 2.0.X\r\n<!-- Check whether this is still an issue in the most recent Angular version -->\r\n\r\n* **Browser:** [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]\r\n<!-- All browsers where this could be reproduced -->\r\n Independent\r\n\r\n* **Language:** [all | TypeScript X.X | ES6/7 | ES5]\r\n2.4.9: TS 2.2.1, 4.0.0: Plunkr env\r\n\r\n* **Node (for AoT issues):** `node --version` =   \r\n"}}
{"actor":{"display_login":"pkozlowski-opensource"}}