After upgrading angular and @types/angular version to version 1.6.x I have lots of TS2694 errors:
error TS2694: Namespace \'angular\' has no exported member
I had to uninstall all node modules and install them again, for uninstall type rm -r node_modules clean-node-modules for install just type npm install
rm -r node_modules
npm install