What is the need for typescript in angular 2?



What is the need for typescript in angular 2?..

Answer / Satish Rai

TypeScript is a superset of JavaScript that adds static types, classes, and other features. In Angular 2, TypeScript is used to enhance productivity, reduce errors, and improve maintainability. It allows developers to catch type-related issues at compile time instead of runtime.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is the difference between angular and angular material?

1 Answers  


Does google own angular?

1 Answers  


Which one is fast between $digest and $apply?

1 Answers   SLK Software,


What are Directives in AngularJS?

1 Answers   SLK Software,


Is angular material responsive?

1 Answers  


Which directive lets you modify the behaviour of another directive?

1 Answers  


Is node js faster than java?

1 Answers  


Explain what are directives ? Mention some of the most commonly used directives in Angular.js application ?

1 Answers  


What is viewchild and viewchildren in angular?

1 Answers  


Explain route configuration? And explain with code?

1 Answers  


What is SPA (Single Page Application) in AngularJS?

1 Answers  


What is tree shaking in angular?

1 Answers  


Categories