Typescript Flashcards
1
Q
What are some features of typescript that JavaScript doesn’t have?
A
Typescript can be strongly typed where as JS is dynamically typed.
Trans-compiled, meaning it can compile to any type of JS, including ES5 and ES6 .
-are working on a large project with a big team, where errors are more common and safety is paramount.
-are using external libraries and frameworks that offer type definitions, which can make writing your code much easier.
2
Q
What are some disadvantages of Ts?
A
More complexity, more things to learn, more code to write and maintain