Sometimes, we want to ignore a particular directory or file for TypeScript tslint. In this…
Coding
Sometimes, we want to make all properties within a TypeScript interface optional. In this article,…
Sometimes, we want to define type of async function with TypeScript. In this article, we’ll…
Sometimes, we want to use optional chaining with array or functions with TypeScript. In this…
Sometimes, we want to specify that a class property is an integer with TypeScript. In…
Sometimes, we want to create enum like type in TypeScript. In this article, we’ll look…
Sometimes, we want to declare an array in TypeScript. In this article, we’ll look at…
Sometimes, we want to configure custom global interfaces (.d.ts files) for TypeScript. In this article,…
Sometimes, we want to use Object.values with TypeScript. In this article, we’ll look at how…
Sometimes, we want to test for array of string type in TypeScript. In this article,…