Introduction TypeScript is a statically typed, object-oriented, compiled programming language created by Microsoft. It is essentially a superset of JavaScript. It adds static typing, interfaces, and additional features to JavaScript, which are critic...

In today's digital era, every business needs an online presence through a website and applications. A website can go live instantly, allowing businesses to make a soft or hard launch in the market. In fact, Amazon launched its business through a webs...

The compilerOptions setting is one of top-level options of the TypeScript configuration file. Typescript provides a wide range of compiler options that serve various purposes, such as type checking, module resolution, code emission, JavaScript suppor...

As you may know, the tsconfig.json in the root of a project directory allows developers to customize the TypeScript compiler settings beyond the default configuration. However, TypeScript provides hundreds of configuration options, which can sometime...

I have come to a solution that you should always use types over interfaces. Let's breakdown why!! Interfaces can only specify objects, but type alias can specify objects and everything else. Let's say we have a single Address field and with type you...
