Sometimes, we want to convert a set to an array in TypeScript. In this article,…
Coding
Sometimes, we want to fix the error “TS2339: Property ‘x’ does not exist on type…
Sometimes, we want to get properties of a class with TypeScript. In this article, we’ll…
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…
Sometimes, we want to fix the ‘Error: *.default is not a constructor’ error with TypeScript.…
Sometimes, we want to get types from both keys and values of an object in…
Sometimes, we want to define a regex-matched string type in TypeScript. In this article, we’ll…
Sometimes, we want to create a function interface with TypeScript. In this article, we’ll look…