Utility types to create new types from existing ones.
TypeScript provides powerful utility types like `Pick` and `Omit` to help you reuse interfaces without duplication.
```typescript
interface User {
id: string;
name: string;
email: string;
isAdmin: boolean;
}
// Only take name and email
type UserContact = Pick;
// Take everything except isAdmin
type PublicUser = Omit;
```
These utilities keep your code DRY and type-safe.
```typescript
interface User {
id: string;
name: string;
email: string;
isAdmin: boolean;
}
// Only take name and email
type UserContact = Pick
// Take everything except isAdmin
type PublicUser = Omit
```
These utilities keep your code DRY and type-safe.