Mid-week Scoop: Understanding Excess Property Checking in TypescriptExcess property checking is when Typescript checks your object to ensure that it doesn’t contain any extra properties on top of what is defined …
Type Safety is essential in Typescript, and one thing that compromises Type Safety is the any type. This is because the any type is the broadest type…
Bun is a self-contained JavaScript runtime, i.e., unlike NodeJS, which doesn’t handle building/bundling your project, just the runtime part, Bun does it…
Last week I announced that I was creating a community for All Things Typescript, and I am happy to announce I have created a community where we can…
You don’t hear much about Type Widening as much as you do about Type narrowing in Typescript. Type widening is the opposite of Type narrowing, and it’s…
Good morning fellow developers, I hope you had a great weekend. In the last week, Typescript 4.7 was released which you can learn more about in the…
Good morning and I hope you had a great and restful weekend. This is the 10th issue of my newsletter - All Things Typescript, and as always, I have put…
If you have worked with Angular and React (before hooks become the default way of writing React components), you may be familiar with classes in…
On top of that, Angular 14 was released with support for Standalone Components and Strictly Typed Forms, you can learn more about the announcement in…
If we want to get the most out of Typescript Types, we need to ensure that we are specific in how we define them. A loosely defined type might be better…
Good morning and welcome to another issue of All Things Typescript. I apologize for not being able to publish last week, as I had a lot on my hand and…
Type inference is the automatic detection of types without explicitly defining the types. Typescript will attempt to detect types whenever possible…