Making REST API calls with TypeScript (With Examples)

This post describes how to make API calls in Typescript, and how we can support types and interfaces while calling REST APIs. If you just want to see the example code, go here Typescript helps developers by providing static analysis and autocomplete features for their Javascript code. When calling REST APIs, the response is normally in a serialized format, most commonly JSON. We can then divide the process of integration API calls with Typescript into two parts:...

 · Soham Kamani

Using React with Typescript

Typescript and React are a great combination. Typescript allows you to define strict types for your React components, their props and states, as well as event handlers. In this post, we’ll go through the fastest way to get started with React and Typescript, and some tips and tricks for using them together. Setting up a new project In my opinion, this is the most frustrating part when working with new javascript stacks....

 · Soham Kamani