Sometimes, we want to define a private property when implementing an interface in TypeScript. In…
Month: April 2022
Sometimes, we want to extend TypeScript global object in Node.js. In this article, we’ll look…
Sometimes, we want to add multiple type signatures for members or union types in TypeScript.…
Sometimes, we want to initialize an object in TypeScript. In this article, we’ll look at…
Sometimes, we want to convert a set to an array in TypeScript. In this article,…
Sometimes, we want to get properties of a class with TypeScript. In this article, we’ll…
Sometimes, we want to fix the error “TS2339: Property ‘x’ does not exist on type…
Sometimes, we want to check for string equality with TypeScript. In this article, we’ll look…
Sometimes, we want to fix the “is not newable” error when passing class as parameter…
Sometimes, we want to reexport a class in TypeScript. In this article, we’ll look at…