So i did ng -v
it shows me everything except typescript, so how can i check Typescript version of my angular 4 project.
To know the version of Typescript, use:
ng -v
This will out put the typescript version and other dependence versions as well. Mine show as bellow:
@angular-devkit/architect 0.7.1
@angular-devkit/build-angular 0.7.1
@angular-devkit/build-optimizer 0.7.1
@angular-devkit/build-webpack 0.7.1
@angular-devkit/core 0.7.1
@angular-devkit/schematics 0.7.1
@angular/cli 6.1.1
@ngtools/webpack 6.1.1
@schematics/angular 0.7.1
@schematics/update 0.7.1
rxjs 6.2.2
typescript 2.7.2
webpack 4.9.2