LearningTypeScript / projects

Hands-on real world projects that will help you exercise your knowledge of TypeScript.
https://learningtypescript.com/projects
226 stars 151 forks source link

Fix: Add s to desert (typo) #259

Closed SJ0826 closed 1 year ago

SJ0826 commented 1 year ago

No open issue as these are small grammar suggestions

PR Checklist

Overview

💾 unions-and-literals/primitive-cooking/02-recipes/index.ts

There's an "s" missing from the "dessert".

✔Before

group = "desert";

✔ after

group = "dessert";
JoshuaKGoldberg commented 1 year ago

Thanks for sending this in @SJ0826! That typo is intentional - it's a bug you're meant to find with TypeScript. From the primitive-cooking README.md:

This time, the runtime code is mostly working fine. Except I think I made a typo in one of the group values? You'll need to fix that.