Quiz · Annotations and type inference · lesson 7 of 9
Quiz — let and const
Which types does TypeScript infer for mode and for theme?
let mode = "dark";
const theme = "dark";Which types does TypeScript infer for mode and for theme?
let mode = "dark";
const theme = "dark";