Typescript

How To Create A Queue In TypeScript?

When preparing for a coding interview, you may have encountered the queue data structure and wanted to implement it...

Apr 30 · 1 min read >

How does the TypeScript Partial type work?

The Partial<Type> type is a built-in TypeScript utility type that takes a Type and creates a new type with all Type‘s properties set to optional. (I...

Apr 25 · 2 min read >

How To Add Multiple Constructors In TypeScript?

If you come from a C# background, you may want to add multiple constructors to a TypeScript class. Although TypeScript...

Apr 25 · 2 min read >

Top 9 Differences Between Type VS Interface in TypeScript

In TypeScript, both an interface and a type alias can be used to describe a new named type. Since in most cases, almost...

Apr 18 · 3 min read >

Javascript vs Typescript: which is the best for you?

As most of you know, Javascript is a popular programming language primarily used for web development. It is quite...

Mar 31 · 2 min read >

Clean Code in TypeScript

Don’t add unneeded context If your class/type/object name tells you something, don’t repeat that in your variable name. Should...

Dec 2 · 1 min read >

How to create custom types in TypeScript? 

There are numerous methods for improving your code’s readability, maintainability, and extensibility. Clean Code principles must be followed, as...

Aug 15 · 2 min read >

How To Use Modules in TypeScript

Introduction Modules are a way to organize your code into smaller, more manageable pieces, allowing programs to import code from...

Jan 19 · 11 min read >

TypeScript Workspace & First App Tutorial

In this TypeScript tutorial we learn how to create a workspace for our source code and write our first...

Sep 3 · 2 min read >