The Dangers of TypeScript Enums

TypeScript introduces a lot of new language features that are common in statically type languages, such as classes (which are now part of the JavaScript language), interfaces, generics and union types to name a few.
But there’s one special type that we…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

TypeScript introduces a lot of new language features that are common in statically type languages, such as classes (which are now part of the JavaScript language), interfaces, generics and union types to name a few. But there’s one special type that we want to discuss today and that is enums. Enum, short for Enumerated Type, is a common language feature of many statically types languages such as C, C#, Java, Swift any many others, is a group of named constant values that you can use within your code.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2020-05-27T06:45:20+00:00) The Dangers of TypeScript Enums. Retrieved from https://www.scien.cx/2020/05/27/the-dangers-of-typescript-enums/

MLA
" » The Dangers of TypeScript Enums." Posts on LINQ to Fail | Sciencx - Wednesday May 27, 2020, https://www.scien.cx/2020/05/27/the-dangers-of-typescript-enums/
HARVARD
Posts on LINQ to Fail | Sciencx Wednesday May 27, 2020 » The Dangers of TypeScript Enums., viewed ,<https://www.scien.cx/2020/05/27/the-dangers-of-typescript-enums/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » The Dangers of TypeScript Enums. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/05/27/the-dangers-of-typescript-enums/
CHICAGO
" » The Dangers of TypeScript Enums." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2020/05/27/the-dangers-of-typescript-enums/
IEEE
" » The Dangers of TypeScript Enums." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2020/05/27/the-dangers-of-typescript-enums/. [Accessed: ]
rf:citation
» The Dangers of TypeScript Enums | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2020/05/27/the-dangers-of-typescript-enums/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.