Typescript Just got a big update!
3 min readNov 18, 2021
Welcome back! Typescript is an awesome programming language used heavily for web development, if you’re new to this language, check out the link below to learn more:
Today, a new version of Typescript came out, Typescript 4.5, let’s take a look at some of the updates with this new version of this language. If you want to check out their entire release log, here is a link to it:
Here are some of my favorite updates for Typescript!
Awaited Promise
This new version of Typescript brings a couple of cool utility types, one of these is Awaited, this is meant to model operations like await and async, here is an example of this utitlity:
// A = string
type A = Awaited<Promise<string>>;
// B = number
type B = Awaited<Promise<Promise<number>>>;
// C = boolean…