Skip to content
Quiz · First steps · lesson 5 of 7

Quiz — a string instead of a number

What does tsc report for this code?

TypeScript
let total: number = 0;
total = "10";