LearningTypeScript / projects

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

feat: add Type Modifiers > Prickly Predicates appetizer #280

Closed JoshuaKGoldberg closed 5 months ago

JoshuaKGoldberg commented 5 months ago

PR Checklist

Overview

Adds a second appetizer to Type Modifiers with a cowboy/southwest/western theme. 🤠

I'd originally meant for this to be a third step in the existing Modifiers of the Type appetizer, but found that the content worked better on its own. This way we can explore a few more pieces of type predicates: a keyof typeof and an array filter.

💖

JoshuaKGoldberg commented 5 months ago

Compile failures are unrelated.