DEV Community

loading...

Discussion on: Typescript Tips and Tricks

Collapse
teekay profile image
TK

If I'm not wrong, Partial transforms all the type properties into optional properties. I prefer using the Pick utility. That way, I get the types I need but also keeping all the properties required.