Skip to content

Commit

Permalink
fix argument type for stream()
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson committed Jul 24, 2024
1 parent 97f7b12 commit 1d1ac81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export class Client {
* ```
*/
stream<T extends QueryValue>(
tokenOrQuery: StreamToken | Query<T>,
tokenOrQuery: StreamToken | Query<StreamToken>,
options?: Partial<StreamClientConfiguration>,
): StreamClient<T> {
if (this.#isClosed) {
Expand Down

0 comments on commit 1d1ac81

Please sign in to comment.