Skip to content

Commit 7ddac98

Browse files
authored
Update client.ts
1 parent 7a44cea commit 7ddac98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class GeoFireClient {
1212
* @param {QueryFn} query? Firestore query id ref => ref.orderBy('foo').limit(5)
1313
* @returns {GeoFireCollectionRef}
1414
*/
15-
collection(path: string, query?: QueryFn): GeoFireCollectionRef {
15+
collection<T>(path: string, query?: QueryFn): GeoFireCollectionRef<T> {
1616
return new GeoFireCollectionRef(this.app, path, query);
1717
}
1818
/**

0 commit comments

Comments
 (0)