typescript
Posts
Solve React error "Property autocomplete does not exist on type"
Sometimes, it happens that an easy-to-solve issue takes you more time than it should. The Typescript React error "Property autocomplete does not exist on type" is maybe one of them.
Extends Express session SessionData type
Express Session allows to store a lot of different data. There is a Typescript type named `SessionData` which allow to know what contains a session but not the data you will defined after without defining them.
ESLint Global Variables
When we use some global variables defined elsewhere, eslint throws an error saying the variable is not defined. Here is how to configure eslint to ignore those.
Extend Window type with Typescript
Some of the object properties or functions are not available in the Typescript Window type. Let see a way to extend the Window type with the missing properties.
Snippets
Make only part of Typescript properties required
Making all properties of a type or an interface required is easy with the `Required` TypeScript utility. Let's make only part of the optional properties required.
NestJS Project Dockerfile
A Dockerfile to build production-ready NestJS app docker image.
Node Typescript Project Dockerfile
A Dockerfile to build production-ready Node Typescript docker image.
Rename the extension of multiple files with bash script on Mac and Linux
A bash script snippet to rename recursively multiples files extension from the current directory.