Sometimes, we want to calculate the time between 2 Dates in TypeScript. In this article,…
Month: April 2022
Sometimes, we want to define an interface for an array of objects with TypeScript. In…
Sometimes, we want to create a TypeScript static class. In this article, we’ll look at…
Sometimes, we want to define static property in TypeScript interface. In this article, we’ll look…
Sometimes, we want to declare a fixed length array in TypeScript. In this article, we’ll…
Sometimes, we want to import other TypeScript files. In this article, we’ll look at how…
Sometimes, we want to obtain the return type of a function with TypeScript. In this…
Sometimes, we want to convert a TypeScript enum to object array. In this article, we’ll…
Sometimes, we want to force TypeScript tsc to ignore node_modules folder. In this article, we’ll…
Sometimes, we want to fix the “TypeScript: No index signature with a parameter of type…