Skip to content

Commit

Permalink
fix doc strings for QueryArgument
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson committed Jun 26, 2024
1 parent 1d4da7f commit 7bb285a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/query-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ import type {
/**
* A QueryArgumentObject is a plain javascript object where each property is a
* valid QueryArgument.
* These objects can be set as values in the {@link fql} function.
*/
export type QueryArgumentObject = {
[key: string]: QueryArgument;
};

/**
* A QueryArgument is a plain javascript object where each property is a
* valid QueryArgument.
* These objects can be set as values in the {@link fql} function.
* A QueryArgument represents all possible values that can be encoded and passed
* to Fauna as a query argument.
*
* The {@link fql} tagged template function requires all arguments to be of type
* QueryArgument.
*/
export type QueryArgument =
| QueryValue
Expand Down

0 comments on commit 7bb285a

Please sign in to comment.