Sometimes, we want to declare a delegate type in TypeScript. In this article, we’ll look…
Month: April 2022
Sometimes, we want to break a forEach loop in TypeScript. In this article, we’ll look…
Sometimes, we want to break or continue across nested for each loops in TypeScript. In…
Sometimes, we want to add types of generic stateless component with React and TypeScript. In…
Sometimes, we want to use react-router-dom with TypeScript. In this article, we’ll look at how…
Sometimes, we want to fix the ‘SyntaxError: Cannot use import statement outside a module’ with…
Sometimes, we want to define optional constructor arguments with defaults in TypeScript. In this article,…
Sometimes, we want to iterate over interface properties in TypeScript. In this article, we’ll look…
Sometimes, we want to set the TypeScript definitions for all projects files. In this article,…
Sometimes, we want to declare the type of ‘this’ in a TypeScript function. In this…