Abstract
In this chapter, I continue to describe the generic type features provided by TypeScript and focus on the advanced features. I explain how generic types can be used with collections and iterators, introduce the index types and type mapping features, and describe the most flexible of the generic type features: conditional types. Table 13-1 summarizes the chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2019). Advanced Generic Types. In: Essential TypeScript. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4979-6_13
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4979-6_13
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4978-9
Online ISBN: 978-1-4842-4979-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)