We have the same issue, but I can't seem to access the fix on Github. How can I access to the solution?
I have updated angular-cli.json file to include environmentSource with correct information. When I run npm start command I see the same errors. Some sample error here:
ERROR in C:/Work/Beneration/VerifiaBill/Source/angular/src/root.module.ts (21,9): Cannot find name 'abp'.) C:/Work/Beneration/VerifiaBill/Source/angular/src/root.module.ts (26,29): Cannot find name 'abp'.) C:/Work/Beneration/VerifiaBill/Source/angular/src/root.module.ts (32,25): Cannot find name 'abp'.) C:/Work/Beneration/VerifiaBill/Source/angular/src/root.module.ts (36,25): Cannot find name 'abp'.)
BTW, I am using Typescript 2.2.1, Visual studio 2015 (update 3) and all necessary dependencies.