You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I believe I've captured the sample accurately and I'm trying to run it within my existing firebase project before I go and try to create my own functions (new to functions/typescript) - unfortunately, I run into the following message on deploy:
src/index.ts:16:18 - error TS2532: Object is possibly 'undefined'.
16 body: `${puppy.name} is ready for adoption`,
~~~~~
src/index.ts:34:12 - error TS2532: Object is possibly 'undefined'.
34 .doc(order.seller)
~~~~~
src/index.ts:43:29 - error TS2532: Object is possibly 'undefined'.
43 body: `you sold a ${order.product} for ${order.total}`,
~~~~~
src/index.ts:43:50 - error TS2532: Object is possibly 'undefined'.
43 body: `you sold a ${order.product} for ${order.total}`,
The text was updated successfully, but these errors were encountered:
Hi there,
I believe I've captured the sample accurately and I'm trying to run it within my existing firebase project before I go and try to create my own functions (new to functions/typescript) - unfortunately, I run into the following message on deploy:
The text was updated successfully, but these errors were encountered: