How to know which typescript version running on angular 4 project

后端 未结 7 628
梦谈多话
梦谈多话 2020-12-25 11:00

So i did ng -v it shows me everything except typescript, so how can i check Typescript version of my angular 4 project.

相关标签:
7条回答
  • 2020-12-25 11:48

    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
    
    0 讨论(0)
提交回复
热议问题