DEV Community

Discussion on: Notes on TypeScript: Type Level Programming Part 1

cezarneaga profile image
Cezar Neaga

nice one as always Ali!

found some typos i think:

// Test MakePick
type NewProfile = MakePick<Profile, "id" | "title">;

type NewUserProfile = { // this should be NewProfile?


We can replace our previously defined MakePick and MakeExclude with Pick and Extract that come with TypeScript.

Extract should be Exclude?

busypeoples profile image
A. Sharif Author

Thanks Cezar!

Updated the post.