[Typescript] Preserve Displaying TypeScript Type Alias Names
TypeScript will sometimes display the original Primitive Type rather than the Type Alias that you've set. By appending & {}
to your Type Alias, you can force TypeScript to display your Alias.
export type Skill = string & {};
export type Money = number & {};
export type Employee = {
salary: Money;
firstName: string;
lastName: string;
skills: Skill[];
};