Typescript Enums | Typescript Enum Type - How to Use?

Опубликовано: 18 Февраль 2021
на канале: Monsterlessons Academy
1,443
68

In this video you will learn how to use Typescript enums. Normally in Javascript we create object with properties to work as a enums. But in Typescript we have a specific entity which is call Typescript enum type and allow us to create flexible and reusable data types and values. Typescript enums is an important part of data types architecture.

► CHECK MY COURSES - https://monsterlessons-academy.com/co...

FOLLOW ME
► TWITTER -   / monster_lessons  

VIDEO CHAPTERS
0:00 Intro
0:51 What are enums in Typescript?
5:44 Using enums inside interfaces
6:25 Enums prefix and postfix

REFERENCES
→ Source code: https://github.com/monsterlessonsacad...
→ How to install Typescript tools:    • Compile Ts to JS and Create Typescrip...  
→ Introduction to Interfaces in Typescript:    • Typescript Interface Props - Why Do W...  

RECOMMENDED VIDEOS
► Angular Tutorial for Beginners -    • Angular Tutorial for Beginners to Adv...  
► Vue JS Crash Course -    • Vue JS Crash Course for Beginners  
► React Hooks Full Course -    • React Hooks Tutorial for Beginners - ...  
► Typescript Course for Beginners -    • Typescript Crash Course for Beginners...  
► Build a Todo App with Angular -    • Build a Todo App With Angular - Angul...  

STUFF I USE
► My mac mini for home on Amazon - https://geni.us/mADK6ob
► Mac macbook to go on Amazon - https://geni.us/t0fC
► My monitors on Amazon - https://geni.us/aRoFoR
► My mouse on Amazon - https://geni.us/FTzq
► My keyboard on Amazon - https://geni.us/wAjpl

► My Synology NAS on Amazon - https://geni.us/H9BeFo
► My Seagate IronWolf 4TB HDD on Amazon - https://geni.us/09Hvpm
► My external SSD drive on Amazon - https://geni.us/jg3MGNt
► My external HDD drive on Amazon - https://geni.us/5HCIAX

► My monitor arm on Amazon - https://geni.us/OuX1
► My chair on Amazon - https://geni.us/wGWq
► My speakers on Amazon - https://geni.us/wM4fIn
► My coffee machine on Amazon - https://geni.us/zP1uEbW
► My standing desk - https://www.fully.com/en-eu/standing-...

Disclosures: All opinions are my own. Sponsors are acknowledged. Some links in the description are affiliate links that if you click on one of the product links, I’ll receive a commission at no additional cost to you. As an Amazon Associate I earn a small commission from qualifying purchases.