Typescript Firebase Function Error Object Is Possibly Undefined

Typescript Firebase Function Error Object Is Possibly Undefined