File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export interface Action<T> {
12
12
} ;
13
13
14
14
export interface Reference < T > {
15
- onSnapshot : ( options : firebase . firestore . DocumentListenOptions , sub : Subscriber < any > ) => any ;
15
+ onSnapshot : ( sub : Subscriber < any > ) => any ;
16
16
}
17
17
18
18
// A convience type for making a query.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import 'rxjs/add/operator/map';
9
9
10
10
function _fromRef < T , R > ( ref : Reference < T > ) : Observable < R > {
11
11
const ref$ = new Observable ( subscriber => {
12
- const unsubscribe = ref . onSnapshot ( { includeQueryMetadataChanges : true } , subscriber ) ;
12
+ const unsubscribe = ref . onSnapshot ( subscriber ) ;
13
13
return { unsubscribe } ;
14
14
} ) ;
15
15
return observeOn . call ( ref$ , new ZoneScheduler ( Zone . current ) ) ;
You can’t perform that action at this time.
0 commit comments