One useful feature with type aliases is that they support extension functions as well.
An alias does not introduce a new type; for the compiler it is equivalent to using the aliased type. So, it does check the type but just not that you use the alias consistently.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
One useful feature with type aliases is that they support extension functions as well.
An alias does not introduce a new type; for the compiler it is equivalent to using the aliased type. So, it does check the type but just not that you use the alias consistently.