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?
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?
0

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
0
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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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.
0
Julian HansenCommented:
If you are working then I would leave it.
0
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.
0
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.
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.