typescript/utility_types/object_transforms
Prev: utility_types | Up: utility_types | Next: union_and_nullability
Rel: Conditional & Mapped Types, typescript/builtins
Ref: TypeScript Docs — Utility Types
Tags: #public #web #typescript #utility-types #object_transforms #index
Overview
Built-in mapped types that transform object property modifiers and subsets.
Core (#tier/core)
- `Partial<T>` — Marks every property of
Toptional (?). - `Required<T>` — Removes
?optionality from every property ofT. - `Readonly<T>` — Marks every top-level property of
Tasreadonly. - `Record<T>` — Constructs an object type with property keys
Keysand value typeType. - `Pick<T>` — Constructs a type keeping only the specified subset of properties
KeysfromT. - `Omit<T>` — Constructs a type with all properties of
TexceptKeys.
Linked from
- tuts/typescript/utility_types
- tuts/typescript/utility_types/object_transforms/Omit
- tuts/typescript/utility_types/object_transforms/Partial
- tuts/typescript/utility_types/object_transforms/Pick
- tuts/typescript/utility_types/object_transforms/Readonly
- tuts/typescript/utility_types/object_transforms/Record
- tuts/typescript/utility_types/object_transforms/Required
- tuts/typescript/utility_types/union_and_nullability
Related notes
- tuts/typescript/utility_types Linked here; links to this page; shared tags: #index, #typescript, #web
- tuts/typescript/utility_types/union_and_nullability Linked here; links to this page; shared tags: #index, #typescript, #web
- tuts/typescript/utility_types/object_transforms/Omit Linked here; links to this page; shared tags: #typescript, #web
- tuts/typescript/utility_types/object_transforms/Partial Linked here; links to this page; shared tags: #typescript, #web
- tuts/typescript/utility_types/object_transforms/Pick Linked here; links to this page; shared tags: #typescript, #web
- tuts/typescript/utility_types/object_transforms/Readonly Linked here; links to this page; shared tags: #typescript, #web
- tuts/typescript/utility_types/object_transforms/Record Linked here; links to this page; shared tags: #typescript, #web
- tuts/typescript/utility_types/object_transforms/Required Linked here; links to this page; shared tags: #typescript, #web
- tuts/typescript/builtins Linked here; shared tags: #index, #typescript, #web
- tuts/typescript/type_system/conditional_and_mapped_types Linked here; shared tags: #typescript, #web