Learn how to handle Typescript mapped types like a pro
Photo by Denise Jans on Unsplash
Mapped types first version arrived in TypeScript 2.1, which was released nearly four years after the first release.
I can confidently say that this feature is the one that really got me hooked. It drew my attention and made me try and experiment with it. Something that did add to my interest is that back then I was already using Visual Studio Code. That IDE was already shipping with TypeScript support built-in. The fact that Microsoft nailed it with Visual Studio Code made TypeScript adoption easier.
Looking at Google Trends, we can see how interest started to grow in 2015 (Visual Studio Code release date) and then really took off in 2016. Mapped types and Angular 2 were released in 2016, which should account for that growth.
Multi-paradigm, Functional, Generic, Imperative, Object-Oriented. In this article, I have shared the essential information about TypeScript programming language. This article contains a basic overview, brief history, features and applications of TypeScript. TypeScript is getting more popular in Full-stack development. In terms of popularity, in the last two years TypeScript pulled ahead of Ruby, Shell, and C.