Type Alias
A type alias is a way to create a new name for an existing type.
Example:
To express that a string is a user ID, you can create a UserID
type alias:
1 |
|
A type alias is a way to create a new name for an existing type.
Example:
To express that a string is a user ID, you can create a UserID
type alias:
1 |
|