📄️ Utility Types in TypeScript
Utility types are predefined generic types in TypeScript that can be used to
📄️ How Utility Types Work
Utility Types are built using TypeScript's own features and provide a powerful
📄️ Record<Keys, Type>
The Record type is a type that can be used to combine two types.
📄️ Awaited<Type>
Awaited is a utility type used to obtain the return type of a promise.
📄️ Pick<Type, Keys>
Pick is a TypeScript utility type that creates a new type by
📄️ Omit<OldType, Keys>
We already looked
📄️ Partial<Type>
What is Partial
📄️ Required<Type>
What is Required
📄️ Readonly<Type>
What is Readonly
📄️ String Manipulation
String Manipulation Utility Types
📄️ Extract<Type, Union>
What Is Extract
📄️ Exclude<UnionType, ExcludedMembers>
What Is Exclude
📄️ NonNullable<Type>
What Is NonNullable
📄️ Parameters<Type>
What Is Parameters
📄️ ConstructorParameters<Type>
What Is ConstructorParameters
📄️ ReturnType<Type>
What Is ReturnType
📄️ InstanceType<Type>
What Is InstanceType