Question · Angular course · Module 1: Introduction to Angular

TypeScript

Why does Angular require TypeScript?

Answer options

  • Because it is faster than JavaScript
  • For static typing, error detection and better autocompletion
  • Because JavaScript does not work in the browser
  • For licensing reasons
Show the answer

Correct answer:

  • For static typing, error detection and better autocompletion