Skip to content

Commit db24d5a

Browse files
committed
fix: make optional
1 parent 796493f commit db24d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/lib/modular/query.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export type OrderByDirection = 'desc' | 'asc';
176176
*/
177177
export function orderBy(
178178
fieldPath: string | FieldPath,
179-
directionStr: OrderByDirection = 'asc',
179+
directionStr?: OrderByDirection = 'asc',
180180
): QueryOrderByConstraint;
181181

182182
/**

0 commit comments

Comments
 (0)