What version of Typescript do I have?

I'm learning Angular 4 and following examples to set up an Angular 4 files with VS 2015

1. I installed node.js and nmp

2. Installed Typescript 2.2 from here https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript22forVisualStudio2015

3. Typescript folder is there
folder
4. I did a search for "typescript" in VS code and I see these
vs2
5. Checked VS and it shows 2.2
vs
5. But when I type tsc -v in command prompt, I see this version. Why?

command prompt
LVL 8
CamilliaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
I am guessing you have two versions of tsc installed - one that VS installed and one through npm.

If you type where tsc on the command line what does it show you?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CamilliaAuthor Commented:
This is what I see

tsc
CamilliaAuthor Commented:
I checked Visual studio. It shows version 1 instead of 2.2. I wonder if I can uninstall the other version

visual studio
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

CamilliaAuthor Commented:
Maybe seeing 1.0.3.0 is ok.

When I look at the solution in notepad, I do see the correct version  <TypeScriptToolsVersion>2.2</TypeScriptToolsVersion>

 I was able to compile the code as well. I commented out the code in "transfer_state.d.ts" and all the references to it to get it compiled. Not sure why I had to do this but It got me going for now.
Julian HansenCommented:
If you are working then I would leave it.
CamilliaAuthor Commented:
yeah it is. I have another question and I will post it soon. Spent 4 hours on it. It looks simple, not sure what I'm missing.
CamilliaAuthor Commented:
took me all day but I figured out the issue I was having with setting up Angular 4 with Visual Studio. I have one more issue but I'll google and post if I don't figure it out.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.