title: Value of type 'QuerySnapshot' has no member 'data' error will appear
body: <p>Value of type 'QuerySnapshot' has no member 'data' error will appear.</p>
  
  <p>But I am in trouble because I do not know why.</p>
  
  <p>I would be pleased if you could give me a professor.</p>
  
  <pre><code>private func getTextData(userID: Array&lt;Any&gt;, image: Array&lt;Any&gt;) {
      for user in userID {
          self.db.collection("users").document(self.fireAuthUID).addSnapshotListener { (snapshot3, error) in
              if error != nil {
                  return
              } else {
                  guard let data = snapshot3?.data() else { return }
                  self.teamIDFromFirebase = data["teamID"] as? String ?? ""
                  self.db.collection("diary").document(self.teamIDFromFirebase).collection("diaries").addSnapshotListener({ (query, err) in
                      if err != nil {
                          return
                      } else {
                          let doc = query?.data() ←　Value of type 'QuerySnapshot' has no member 'data'
  
                      }
                  })
              }
          }
      }
  }
  </code></pre>