re: Notes on TypeScript: Type Level Programming Part 1 VIEW POST


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?

code of conduct - report abuse