Let\'s say I have an interface:
interface IUser { email: string; id: number; phone: string; };
Then I have a function that expects a
proper solution with mapped types:
updateUser(userData: {[P in K]: IUser[P]}) { ... }