I want to create a type based on the keys of another object in TypeScript.
I have managed to do this with weak typing. But if I use a strong type Record
Record