Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Jun 29, 2020
1 parent 47ca1a2 commit f412e9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/firestore/exp/src/api/reference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ export function onSnapshot<T>(
const userObserver = args[currArg] as PartialObserver<
firestore.QuerySnapshot<T>
>;
args[currArg] = userObserver.next;
args[currArg + 1] = userObserver.error;
args[currArg + 2] = userObserver.complete;
args[currArg] = userObserver.next?.bind(userObserver);
args[currArg + 1] = userObserver.error?.bind(userObserver);
args[currArg + 2] = userObserver.complete?.bind(userObserver);
}

let asyncObserver: Promise<Unsubscribe>;
Expand Down

0 comments on commit f412e9b

Please sign in to comment.