say i've an object which is typed, but one of the properties is just typed object as the server hasn't typed it, i'd like to set the type definition to this.
type appleType = {
color: string
}
response.apple // coming from typed response is type 'object'
response.apple as appleType
response.apple // this will still be typed as object, what can I do here to type it as appleType?
How do i apply the type appleType to a property of the response. I can't edit where the response type defs are coming through as they're auto generated, I need to overwrite them here