Skip to content

Commit

Permalink
Merge pull request #426 from ably/history-direction-default-value
Browse files Browse the repository at this point in the history
docs: fix default history ordering annotation
  • Loading branch information
AndyTWF authored Dec 4, 2024
2 parents 6a4f924 + 3c22c3c commit 69ea478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export interface QueryOptions {
* The direction to query messages in.
* If `forwards`, the response will include messages from the start of the time window to the end.
* If `backwards`, the response will include messages from the end of the time window to the start.
* If not provided, the default is `forwards`.
* If not provided, the default is `backwards`.
*
* @defaultValue forwards
* @defaultValue backwards
*/
direction?: 'forwards' | 'backwards';
}
Expand Down

0 comments on commit 69ea478

Please sign in to comment.