Abstract
Now that we have a deeper appreciation of the fundamentals of TypeScript and how it works with the dynamic structurally typed language of JavaScript, we are ready for the real fun to start! In this chapter, we will explore a powerful feature of dynamic structural typing that is supported by TypeScript, called computed types. These advanced types take advantage of the runtime-typed approach of ECMAScript and JavaScript, making TypeScript's types even more dynamic and flexible than most statically typed languages, and are one of the paradigm’s most powerful features.
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
© 2023 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Beattie-Hood, B. (2023). Computed Types. In: Modern TypeScript . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-9723-0_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-9723-0_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-9722-3
Online ISBN: 978-1-4842-9723-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books