Skip to content

Commit 5485bb5

Browse files
chore(lint): Undo accidental type change
1 parent 11f3221 commit 5485bb5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/firestore/firestore.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ export class AngularFirestore {
171171
* CollectionReference and an optional query function to narrow the result
172172
* set.
173173
*/
174-
collection<T>(path: string | CollectionReference, queryFn?: QueryFn): AngularFirestoreCollection<T>;
174+
collection<T>(path: string, queryFn?: QueryFn): AngularFirestoreCollection<T>;
175+
// tslint:disable-next-line:unified-signatures
176+
collection<T>(ref: CollectionReference, queryFn?: QueryFn): AngularFirestoreCollection<T>;
175177
collection<T>(pathOrRef: string | CollectionReference, queryFn?: QueryFn): AngularFirestoreCollection<T> {
176178
let collectionRef: CollectionReference;
177179
if (typeof pathOrRef === 'string') {

0 commit comments

Comments
 (0)