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 ran into the same issue in VSC. Did restarted the editor and started the application again. It worked fine.