diff --git a/src/compat/firestore/collection-group/collection-group.ts b/src/compat/firestore/collection-group/collection-group.ts index 06162ed13..b7354753f 100644 --- a/src/compat/firestore/collection-group/collection-group.ts +++ b/src/compat/firestore/collection-group/collection-group.ts @@ -83,7 +83,7 @@ export class AngularFirestoreCollectionGroup { */ valueChanges(): Observable; // tslint:disable-next-line:unified-signatures - valueChanges({}): Observable; + valueChanges(): Observable; valueChanges(options: {idField: K}): Observable<(T & { [T in K]: string })[]>; valueChanges(options: {idField?: K} = {}): Observable { const fromCollectionRefScheduled$ = fromCollectionRef(this.query, this.afs.schedulers.outsideAngular); diff --git a/src/compat/firestore/collection/collection.ts b/src/compat/firestore/collection/collection.ts index f873441ad..26c93e3db 100644 --- a/src/compat/firestore/collection/collection.ts +++ b/src/compat/firestore/collection/collection.ts @@ -105,7 +105,7 @@ export class AngularFirestoreCollection { */ valueChanges(): Observable; // tslint:disable-next-line:unified-signatures - valueChanges({}): Observable; + valueChanges(): Observable; valueChanges(options: {idField: K}): Observable<(T & { [T in K]: string })[]>; valueChanges(options: {idField?: K} = {}): Observable { return fromCollectionRef(this.query, this.afs.schedulers.outsideAngular)