在FiReste9onSnapshot函数中调用data()方法时,它会返回一个包含文档中所有字段的对象。但是在我下面的代码中,在...doc.data()上有一个TypeScript错误,它说:Spread types may only be created from object types. ts(2698) 那么,如果data()返回一个对象,为什么TypeScript会抱怨它不是一个对象呢?const unsubscribe = o
我有一个项目要将货币详细信息添加到firestore数据库中,我的项目正在使用ionic 3Error: Invalid use of type "undefined" as a Firestore argument.:14)
at Function.encodeValue (/user_code/node_modules/firebas