{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2034","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2034/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2034/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2034/events","html_url":"https://github.com/angular/angular-cli/issues/2034","id":176058154,"number":2034,"title":"Warnings when using an exported interface in a class","user":{"login":"Maistho","id":2260305,"avatar_url":"https://avatars.githubusercontent.com/u/2260305?v=3","gravatar_id":"","url":"https://api.github.com/users/Maistho","html_url":"https://github.com/Maistho","followers_url":"https://api.github.com/users/Maistho/followers","following_url":"https://api.github.com/users/Maistho/following{/other_user}","gists_url":"https://api.github.com/users/Maistho/gists{/gist_id}","starred_url":"https://api.github.com/users/Maistho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maistho/subscriptions","organizations_url":"https://api.github.com/users/Maistho/orgs","repos_url":"https://api.github.com/users/Maistho/repos","events_url":"https://api.github.com/users/Maistho/events{/privacy}","received_events_url":"https://api.github.com/users/Maistho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-09T17:00:30Z","updated_at":"2016-09-09T19:08:56Z","closed_at":null,"body":"## 1. OS\r\nArch Linux\r\n```\r\nLinux maistho-laptop 4.7.2-1-ARCH #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016 x86_64 GNU/Linux\r\n```\r\n\r\n## 2. Versions\r\n```\r\nangular-cli: 1.0.0-beta.11-webpack.8\r\nnode: 6.5.0\r\nos: linux x64\r\n```\r\n\r\n## 3. Repro steps\r\nI started a new repository, and added a new empty service, with an exported interface.\r\n\r\nComplete changes, and a repo to pull and see the issue, can be found here:\r\n\r\nhttps://github.com/Maistho/angular-cli-input-issue/commit/e5c483081bfd7af3dafd0db074179b3090668e27\r\n\r\nAfter running `ng build`, I get two warnings in the Terminal\r\n\r\n## 4. The log given by the failure\r\n```\r\nHash: 354e709ba2cf588db59a                                                                                                                                                                                          \r\nVersion: webpack 2.1.0-beta.21\r\nTime: 11161ms\r\n            Asset       Size  Chunks             Chunk Names\r\n   main.bundle.js    2.51 MB    0, 2  [emitted]  main\r\n styles.bundle.js    10.2 kB    1, 2  [emitted]  styles\r\n        inline.js    5.53 kB       2  [emitted]  inline\r\n         main.map     3.1 MB    0, 2  [emitted]  main\r\n       styles.map    14.1 kB    1, 2  [emitted]  styles\r\n       inline.map    5.59 kB       2  [emitted]  inline\r\n       index.html  489 bytes          [emitted]  \r\nassets/.npmignore    0 bytes          [emitted]  \r\nchunk    {0} main.bundle.js, main.map (main) 2.46 MB {1} [initial] [rendered]\r\nchunk    {1} styles.bundle.js, styles.map (styles) 9.96 kB {2} [initial] [rendered]\r\nchunk    {2} inline.js, inline.map (inline) 0 bytes [entry] [rendered]\r\n\r\nWARNING in ./src/app/app.component.ts\r\n18:55 export 'TestInterface' was not found in './test.service'\r\n\r\nWARNING in ./src/app/app.component.ts\r\n18:88 export 'TestInterface' was not found in './test.service'\r\nChild html-webpack-plugin for \"index.html\":\r\n         Asset     Size  Chunks       Chunk Names\r\n    index.html  2.82 kB       0       \r\n    chunk    {0} index.html 357 bytes [entry] [rendered]\r\n```\r\n\r\n## 5. Mention any other details that might be useful.\r\n\r\nI could not reproduce the issue without adding the `@Input()` to the class member.\r\n\r\nCompiling with `tsc` does not produce any warnings."},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/246009829","html_url":"https://github.com/angular/angular-cli/issues/2034#issuecomment-246009829","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2034","id":246009829,"user":{"login":"slubowsky","id":270589,"avatar_url":"https://avatars.githubusercontent.com/u/270589?v=3","gravatar_id":"","url":"https://api.github.com/users/slubowsky","html_url":"https://github.com/slubowsky","followers_url":"https://api.github.com/users/slubowsky/followers","following_url":"https://api.github.com/users/slubowsky/following{/other_user}","gists_url":"https://api.github.com/users/slubowsky/gists{/gist_id}","starred_url":"https://api.github.com/users/slubowsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slubowsky/subscriptions","organizations_url":"https://api.github.com/users/slubowsky/orgs","repos_url":"https://api.github.com/users/slubowsky/repos","events_url":"https://api.github.com/users/slubowsky/events{/privacy}","received_events_url":"https://api.github.com/users/slubowsky/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T19:08:56Z","updated_at":"2016-09-09T19:08:56Z","body":"I get same issue when following the the dependency injection token example given in the angular docs - https://angular.io/docs/ts/latest/guide/dependency-injection.html#dependency-injection-tokens\r\n\r\nHaven't checked if perhaps the docs have been updated but implemented in my app based on documentation as of maybe 2 months ago I get the following warning:\r\n`export 'AppConfig' was not found in '../app.config'`\r\nWhenever I import the interface.\r\n\r\nWorks fine despite warning so I've just been waiting for it to go away eventually as things mature\r\n"}}
{"actor":{"display_login":"slubowsky"}}