DEV Community

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

Collapse
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?

and

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

Extract should be Exclude?

Collapse
busypeoples profile image
A. Sharif Author

Thanks Cezar!

Updated the post.