How to get property based union type from an array of objects
11/21/2023
You might want to use a union type from property values as an argument type for a function. How to derive one from an array of objects?
How to refresh Docker anonymous volumes
5/13/2022
I spent a few hours debugging why one of my docker containers was starting with outdated node_modules. The culprit was an anonymous volume I used, because it wasn't being refreshed during the start. Once I understood the root cause, I found an easy fix.
Using mapped types to access object properties
4/6/2022
Once in a while, I struggle to work with objects containing different types of property values now and then. Yet, using mapped types, it is a piece of cake.