Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
listen(observer) {
if (this.query instanceof FirebaseFirestore.Query) {
return this.query.onSnapshot(observer.next, observer.error);
}
else {
return this.query.onSnapshot(observer);
}
}
where(fieldPath, opStr, value) {