Summary

In this chapter, we discussed many ways that generic information can be stored with the concept of many objects. We demystified the difference between the uppercase and lowercase object with an object literal and an instantiated object. We clarified two different structures to hold quick access data with index signature and map. The chapter continued with how to manipulate several types with a union and an intersection. Finally, we saw how to destruct, and how declare is different than the three previous declarations mentioned in Chapter 2, Onboarding Types with Primitive.

In the next chapter, we will see how to work with object-oriented. The next chapter covers how to use inheritance, encapsulation, and static function. The notions of interface and how to define a constructor signature in an interface will be explained. The next chapter dives into the powerful world of object-oriented in TypeScript.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.76.218