TypeScript for JavaScript Developers Part 4: Custom Types

preview_player
Показать описание
In this video, I fix a defect revealed by refactoring to classes. I then use a custom type to define the allowable values of a property. This reveals yet another defect that is easy to fix and gets the phone functionality working.

Рекомендации по теме