In this post, we are going to see how TypeScript can infer type in many ways. Type inference happens when there is no explicit type annotation.
Tag: typescript
Typescript: Destructuring Object
In last post, we talked about destructuring array. In this post, we’re going to talk about destructuring object in Typescript.
Typescript: Destructuring Array
Literally, destructuring is a feature of javascript(EcmaScript 2015) but Typescript also supports it. This feature allows you to extract data from array and object. But in this post, we will focus on destructuring array.