Mapped Types
A mapped type is derived from an existing type by modifying the properties’ names or accessibility (e.g. readonly
) in the new type.
Example:
1 |
|
A mapped type is derived from an existing type by modifying the properties’ names or accessibility (e.g. readonly
) in the new type.
Example:
1 |
|