-
Notifications
You must be signed in to change notification settings - Fork 147
Description
The documentation is not a link in the description, though it's said the video it'll be linked.
near the bottom, "Either way, They allow you to" -> the word They doesn't need to start with a capital letter
"And that's it- a rundown on" -> use em dash — with or without spaces symmetrically on the sides
"However, if you're dealing with a single enum, string do allow you to constrain values." -> perhaps you meant plural strings? It's ambiguous whether "string" refers to string enums, string literal types, or just the string type in general.
The explanation "assigns a function to it" is misleading. The function is an immediately-invoked function expression used to populate the Direction object, but after execution, Direction is just an object, not a function.