can i assign enum as a type typescript code example
Example: declare enum in type script
enum PrintMedia {
Newspaper = 1,
Newsletter,
Magazine,
Book
}
enum PrintMedia {
Newspaper = 1,
Newsletter,
Magazine,
Book
}