Confused.com
#12718
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found this repo from a YouTube video and it piqued my interest as I've started using TS at work.
I'm confused as to what these Types are for exactly and how they would be used in the real world?
A lot of them just seem like a function, so why not write them as functions?
Why would I need a type that "does" something? I thought types just describe what a value is eg a string or number?
Hope someone can help me wrap my head around this!
Beta Was this translation helpful? Give feedback.
All reactions