Beginner TypeScript
Q28 / 100

What is "type inference" in TypeScript?

Correct! Well done.

Incorrect.

The correct answer is B) The compiler automatically determining a variable's type based on its value

B

Correct Answer

The compiler automatically determining a variable's type based on its value

Explanation

Type inference allows TypeScript to automatically deduce types from assigned values without explicit annotations.

Progress
28/100