TypeScript | Type Annotation and Inference in TypeScript | Question8

Last Updated :
Discuss
Comments

Which of the following types is inferred when a variable is declared without assignment?

TypeScript
let value;


any

undefined

unknown

void

Share your thoughts in the comments