typescript interface key implement another interface code example Example: typescript interface key with another type { [P in keyof IUser]?: 'another type'}