Hi, I have this use case where I want to turn a "simple" object into a more complex one, and also for the types.
I am not sure how to make the types work with this.
in the end I want to have a type, preferably as "const" that I can access
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.