Make all properties required.
Section: Utility Types
Use `Required<T>`
typescript
typescript
type User = { id?: number; name?: string };
type CompleteUser = Required<User>;Explanation
Useful when optional data must be normalized before use.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Utility Types