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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some disadvantages of Ts?

A

More complexity, more things to learn, more code to write and maintain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly