It will check the syntax error of tyoescfipt
or Angular 6.0 you can run ng lint with autofix like so: ng lint --fix where is the name you gave to your project when running ng new. Learn more here: https://github.com/angular/angular-cli/wiki/lint