We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55c1c2c commit 1ea166aCopy full SHA for 1ea166a
packages/firestore/lib/index.d.ts
@@ -1288,7 +1288,7 @@ export namespace FirebaseFirestoreTypes {
1288
* @param fieldPath The field to sort by. Either a string or FieldPath instance.
1289
* @param directionStr Optional direction to sort by (`asc` or `desc`). If not specified, order will be ascending.
1290
*/
1291
- orderBy(fieldPath: keyof T | FieldPath, directionStr?: 'asc' | 'desc'): Query<T>;
+ orderBy(fieldPath: keyof T | string | FieldPath, directionStr?: 'asc' | 'desc'): Query<T>;
1292
1293
/**
1294
* Creates and returns a new Query that starts after the provided document (exclusive). The start
0 commit comments