I am doing the angular2 tutorial at this address: https://angular.io/docs/ts/latest/tutorial/toh-pt3.html I have put the hero interface in a single
angular2
hero
I faced same issue.
I restarted my server and it works fine. Seems like a bug.