Every path through buildQuote() now returns a typed quote, and your quote.ts prints the four quotes Dee worked out by hand. The exercises graded the pieces in your browser. They couldn’t check whether you can explain what the checker did for you or what’s left of your types when Node.js runs the file.
In this last project step, you’ll walk the AI mentor through your typed quote the way you’d walk a teammate through a pull request. You’ll show the output of your project’s type check, explain what the checker caught, and then make a change Dee asks for that you haven’t seen yet.
Before You Start the Review
The review works from your own project, so finish Step 5 of the project first. In your spoke-quotes folder, run both jobs one more time: first npm run check, then node quote.ts. The check should print its two > lines, > [email protected] check and > tsc --noEmit, and no errors. The program should print the four quotes from Dee’s table, Kofi’s $11.25 included.
If the check still reports something, then read the error from the top and fix it where the wrong value starts, as you did in the exercises.