TypeScript Enums or Objects?
Автор: Harry Wolff
Загружено: 2020-04-20
Просмотров: 19511
TypeScript's have Enums, which is a great language feature. However when you're writing libraries and exposing functions that try and require Enums it can make for a bad user experience.
Instead you should use regular ol' JavaScript objects - but super charged with TypeScript!
Have a watch and let me change your mind. :)
——
NEWSLETTER: https://tinyletter.com/hswolff/subscribe
PATREON: / hswolff
TWITTER: / hswolff
SITE: https://hswolff.com/
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: