// L02 compiler-error starter // // Copy this file to: // starter/src/l02-types.ts // // Goal: // 1. Run `npm run build`. // 2. Read the compiler errors. // 3. Fix the values or types without using `any`. export {}; const baseScore: number = 10; const bonus: number = 3; const total: number = baseScore + bonus * 2; type Difficulty = "easy" | "normal" | "hard"; const score: number = "10"; const ready: boolean = 1; const difficulty: Difficulty = "medium"; const summary: string = `total=${total}, ready=${ready}, difficulty=${difficulty}`; console.log(summary);