Replace the type at a key in an object type.
The object type to modify.
The key to replace.
The type to replace the key with.
Replace the type at a key in an object type.