mayo·Jul 24, 2023Create union types from object / object arrayin Typescript, sometimes you want to use object key / value or array of object as union types.