Comment
Comment by skywal_l
Typescript is actually a great language. And with those utility types, you can do pretty fun stuff like, for example, you want to mutate a type so that some fields become mandatory:
Here, ts will complain that b is missing baz.