AddPrefixToKeys
Returns a new map where every key is prefixed with the outer key appended to a dot.
type AddPrefixToKeys<Prefix extends string, T extends Record<string, unknown>> = [K in keyof T & stringin keyof `${Prefix}.${K}`]+?: string extends K ? any : T[K];