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