node_modules/@google-cloud/firestore/types/firestore.d.ts:414:14 - error TS2717: Subsequent property declarations must have the same type. Property 'lastUpdateTime' must be of type 'string', but here has type 'Timestamp'.
firebase-admin imports firestore, so re-importing it via @google-cloud/firestore is confusing TypeScript. Instead, you can access the type via: admin.firestore.QuerySnapshot
FireStore is imported automatically like so.
But when I deploy the function error says those. What am I missing? Thank you!