enum type in angular 10 code example Example: ts enum definition enum PrintMedia { Newspaper, Newsletter, Magazine, Book }