Solutionunvalidated
Create a union of single-key object types using an index access over a mapped type, e.g. `type DataField = { [K in keyof Data]: { [SK in K]: Data[K] } }[keyof Data];` so the parameter type becomes `{K: Data[K]}` for any single `K` from `FormData`.
e32bfe90-8e61-4373-8dfd-e178e6eecadb
Create a union of single-key object types using an index access over a mapped type, e.g. type DataField = { [K in keyof Data]: { [SK in K]: Data[K] } }[keyof Data]; so the parameter type becomes {K: Data[K]} for any single K from FormData.