@connectrpc/connect-query
Version:
TypeScript-first expansion pack for TanStack Query that gives you Protobuf superpowers.
15 lines • 493 B
TypeScript
/**
* These default options are required for proper query key hashing.
*
* For example, if you are using BigInt values, you will need this in order to avoid getting this expected JavaScript error:
*
* `Error: Uncaught [TypeError: Do not know how to serialize a BigInt]`
*
* when TanStack Query tries to serialize the value.
*/
export declare const defaultOptions: {
queries: {
queryKeyHashFn: (object: any) => string;
};
};
//# sourceMappingURL=default-options.d.ts.map