As I delve into teaching myself Angular and updating my versions (node, angular-cli, ...), I have come across 4 different versions of Typescript. Can anyone shed some light on the differences between them?
In the screenshot below, on the left side is vscode displaying the result of "ng version". The data that got cut-off includes:
- Angular CLI: 7.3.9
- Node: 10.15.3
- OS: win32 x64
- Angular: 7.1.4
... common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
The right-side shows a cmd prompt open in my user location.
https://i.sstatic.net/xH6cC.png
Here's my attempt at explaining it, feel free to correct me :)
3.1.6
This seems like the Typescript version used in my project3.2.2
Likely the global version currently installed in%AppData%\Roaming\npm
3.4.5
... a bit of a mystery. It turns out this is the latest available version at the time of posting. Although higher than what Angular 7.1.4 supports, so it might not work properly due to being a breaking change according to this source. Makes me wonder if it's actually showing something other than Typescript.3.2.4
This one has me puzzled, unsure of its origin
I also checked npm list typescript locally and globally. While still learning, I'm not entirely sure what this means but here are the results: