Mapped types are a great way of transforming existing types into new types. We create the helper type that takes a type and maps all properties to be of return type.
Sort: