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.
as
satisfies
1 parent b3ae141 commit a248d3bCopy full SHA for a248d3b
npm-packages/@convex-dev/react-query/src/index.ts
@@ -157,7 +157,7 @@ export class ConvexQueryClient {
157
if (typeof client === "string") {
158
this.convexClient = new ConvexReactClient(client, options);
159
} else {
160
- this.convexClient = client as ConvexReactClient;
+ this.convexClient = client satisfies ConvexReactClient;
161
}
162
if (options.dangerouslyUseInconsistentQueriesDuringSSR) {
163
this.ssrQueryMode = "inconsistent";
0 commit comments