ChatGPT just made its first contribution to our codebase! I asked it to extend a type so that a property's type was dependent upon another property's type. It couldn't do that. Then I hinted to it to use a discriminated union, which is how I would have done..