Quiz · First steps · lesson 5 of 7Quiz — a string instead of a numberWhat does tsc report for this code?TypeScriptlet total: number = 0; total = "10";[A]An error: a string cannot be assigned to a variable of type number[B]An error: a variable declared with let cannot be assigned a second time[C]Nothing: the mistake shows up only once the program is running[D]Nothing: the string "10" is turned into the number 10 on assignment← BackCompile errorsNext →Types vanish at compile time