Sometimes, we want to extend HTML elements in React and TypeScript while preserving props. In…
Coding
Sometimes, we want to initialize a multidimensional array with TypeScript. In this article, we’ll look…
Sometimes, we want to use object literal as TypeScript enum values. In this article, we’ll…
Sometimes, we want to add a private setter with TypeScript. In this article, we’ll look…
Sometimes, we want to call an overridden method in base class constructor in TypeScript. In…
Sometimes, we want to fix the “Type ‘null’ is not assignable to type ‘T’” error…
Sometimes, we want to use RegExp in TypeScript. In this article, we’ll look at how…
Sometimes, we want to fix the “Argument of type ‘X’ is not assignable to parameter…
Sometimes, we want to convert a variable to boolean with TypeScript. In this article, we’ll…
Sometimes, we want to compile to a single file with TypeScript. In this article, we’ll…