What Is Strict Mode In TypeScript, Why And When You Should Use It?
There are many options and parameters that can be used in the TypeScript configuration. One of the … Read more
There are many options and parameters that can be used in the TypeScript configuration. One of the … Read more
In the post Getting Started With TypeScript Compiler (tsc) we started to use TypeScript compiler … Read more
From the previous post TypeScript - What Is All About And Why Should You Use It? we know that … Read more
CommonJS Modules Module system for JavaScript that uses in Node. The syntax: 1 2 3 4 5 6 7 const fs … Read more
ES Modules Module system in ECMAScript standard JavaScript. An example: 1 2 3 4 5 6 7 8 import { … Read more
In this post, we will learn how to set up a Node project with TypeScript. It is not based on any … Read more
You probably have seen files with a file extension like .d.ts in some JavaScript or TypeScript … Read more
The problem In the previous post we talked about what is TypeScript and why should we use that. Now … Read more
Intro There are few ways to install Node on your local machine. The most popular way is to install … Read more
What is TypeScript? TypeScript is a JavaScript Superset. It means that TypeScript is a language that … Read more
Test asynchronous code using Jest Test code that contains method setTimeout Let’s say we have … Read more
Temporal Dead Zone In JavaScript Links Temporal dead zone (TDZ) (MDN Web Docs) Read more
Name your mocked function with word “mock” Let’s look at the example: 1 2 3 4 5 6 … Read more
@testing-library It is a library that provides an ability to write tests. Actually it is a bunch of … Read more
create-react-app It is a command-line interface that provides an ability to create simple React … Read more