Learn how to create a union type from a javascript object that automatically updates itself using advanced Typescript techniques like Mapped Types