nice one as always Ali!
found some typos i think:
// Test MakePick type NewProfile = MakePick<Profile, "id" | "title">; /* type NewUserProfile = { // this should be NewProfile?
and
We can replace our previously defined MakePick and MakeExclude with Pick and Extract that come with TypeScript.
Extract should be Exclude?
Thanks Cezar!
Updated the post.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
nice one as always Ali!
found some typos i think:
and
We can replace our previously defined MakePick and MakeExclude with Pick and Extract that come with TypeScript.
Extract should be Exclude?
Thanks Cezar!
Updated the post.