No BS TS #15 - Readonly and Static in Typescript Classes
We can make fields in Typescript classes readonly, as well as make member fields and methods static. Let's explore some practical uses for readonly and static in classes.
00:00 Introduction
00:25 Creating The Dog Classes
00:58 Members in Constructors
02:00 Readonly Member Fields
02:26 Singletons
03:11 Static Member Fields
04:21 Static Methods
05:57 Outroduction
Code: https://github.com/jherr/no-bs-ts/tree/master/episode-15
If you liked this video, buy me a coffee! https://www.buymeacoffee.com/bluecollarcoder
Hope you folks enjoy this!
👉 If you enjoy this video, please like it and share it.
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Weekly free newsletter: https://www.jackherrington.com/subscribe/
👉 Discord server signup: https://discord.gg/ddMZFtTDa5
💢 Watch our other videos:
💟 Hacking your Github contribution graph: https://youtu.be/_ZQSPYDlk3U
💟 More Typescript videos: https://www.youtube.com/playlist?list=PLNqp92_EXZBIKO8lqN3089jgZUi-FUFXX
Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel.
#typescript #NoBSTS
Видео No BS TS #15 - Readonly and Static in Typescript Classes канала Jack Herrington
00:00 Introduction
00:25 Creating The Dog Classes
00:58 Members in Constructors
02:00 Readonly Member Fields
02:26 Singletons
03:11 Static Member Fields
04:21 Static Methods
05:57 Outroduction
Code: https://github.com/jherr/no-bs-ts/tree/master/episode-15
If you liked this video, buy me a coffee! https://www.buymeacoffee.com/bluecollarcoder
Hope you folks enjoy this!
👉 If you enjoy this video, please like it and share it.
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Weekly free newsletter: https://www.jackherrington.com/subscribe/
👉 Discord server signup: https://discord.gg/ddMZFtTDa5
💢 Watch our other videos:
💟 Hacking your Github contribution graph: https://youtu.be/_ZQSPYDlk3U
💟 More Typescript videos: https://www.youtube.com/playlist?list=PLNqp92_EXZBIKO8lqN3089jgZUi-FUFXX
Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel.
#typescript #NoBSTS
Видео No BS TS #15 - Readonly and Static in Typescript Classes канала Jack Herrington
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
No BS TS #16 - Abstract Classes in TypescriptNo BS TS #14 - Mapped Types in TypescriptNo BS TS #2 - Typescript FunctionsNo BS TS #3 - Typescript Functions with FunctionsMicro-Frontends: What, why and howNo BS TS #4 - Function Overloading in TypescriptNo BS TS - Challenge #1No BS TS #5 - Optionals in TypescriptCoding in Chicago | 🎧 LoFi Jazz Hip-Hop [Code - Relax - Study]No BS TS #6 - Tuples in TypescriptNo BS TS #7 - Generics in TypescriptNo BS TS #8 - Generics with keyof in TypescriptNo BS TS #9 - Typescript Utility TypesNo BS TS #10 - Readonly And Immutability in Typescriptchill lofi beats to code/relax toNo BS TS #11 - Enums and Literal Types in TypescriptMastering Typescript State using ValtioNo BS TS #12 - Typescript Classes; Member Visibility and ImplementsSaleem ki Haleem || Ramzan special video || Middle Class Abbayi || Infinitum Media || Funmoji