Create type from type/object keys and values in TypeScript

Create type from type/object keys and values in TypeScript

More to explore

Based on this image's title: “Create type from type/object keys and values in TypeScript