JS

TypeScript Quiz - typescript type declaration

9.

What will TypeScript infer the type of the people variable to be in the declaration below?

let people = ['John', 'Jane', 'Jake'];

array

boolean

number

string[]