I'm currently working on a scenario where I need to divide a string type into a Record.
For example:
const string = "Thank you"
and my goal is to transform it into
Record<'Thank' | 'you', string>
Is there a simple method to accomplish this task?
Appreciate any help. Thank you