> Write me a generic type in typescript that takes a record from string to any and returns a record with all top-level keys prefixed with "test_"
Even after a lot of coaxing and correcting, it still would only attempt to prefix the values. Finally, it landed on a generic that was essentially the identity function for Record with typos. Every time it included a demo snippet it claimed showed how its code word work. To give it credit, the example input and output were correct given my prompt, but the provided solution did not generate those results.