How to get names and values of enum in typescript

How to get names and values of enum in typescript

In this article, we’ll see what is enum or enumeration and why it’s used and we’ll also see how to get names and values of enum in typescript. What are Enums? In typescript enum is available from typescript version 2.4. Enum or Enumeration allowed us to declare set of named constants. Enum is a collection … Read more How to get names and values of enum in typescript