TypeScript Flashcards

1
Q

When was TypeScript introduced?

A

2012

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

Who created TypeScript?

A

Microsoft

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

What does the TypeScript compiler do?

A

Compiles the TypeScript code to JavaScript code that can be read by a browser

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

How do you compile TypeScript to JavaScript?

A

Run the command ‘tsc fileName.ts’ - you can also auto-compile by running the command ‘tsc -w fileName.ts’

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

What are some benefits of using TypeScript?

A

Limits errors as they will be exposed during compile time instead of run time, allowing us to fix mistakes before starting the web app.

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