Course lesson
Type Aliases are an easy way to declare that you are treating a primitive type in your application differently in certain instances than others.
Type Aliases are an easy way to declare that you are treating a primitive type in your application differently in certain instances than others.
For instance, a Money type that is type string tells you where ever you are using Money to treat the value a certain way even though at the end of the day it is just a string.
Let's explore Type Aliases in this lesson.
Course lesson
Type Aliases are an easy way to declare that you are treating a primitive type in your application differently in certain instances than others.