Click here to Skip to main content
15,507,755 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had attended interviews recently and i used to tell that i have sound knowlede on angular

Interviewer asked me that Do you know typescript?
I have got confused whether i know or not
My doubt is
How Typescript is related to Angular?
Could i tell that i know typescript if i know angular?

Thanks in advance

What I have tried:

I have tried in google search but i did not convince with google answers
Posted
Updated 20-Feb-19 23:17pm

First of all you should understand what TypeScript is.
TypeScript vs. JavaScript – Hacker Noon[^] gives a good explanation.

You could also search with Google for e.g. Typescript vs Javascript.

TypeScript is a superset of Javascript which is strongly typed as the name TypeScript suggests.

A web browser does not know about TypeScript and can only understand JavaScript.
When deploying TypeScript is transpiled to JavaScript.

Angular apps itself can also be developed with only JavaScript.
But it is recommended to use TypeScript as the tutorials show.
 
Share this answer
 
What you used to work in Angular, Javascript or Typescript?

I have been working in Angular from last 2yrs, I have used Typescript, reason being Typescript follows OOPS concept(which makes it easy to use).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900