We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f01cfd8 commit 210a87dCopy full SHA for 210a87d
1 file changed
src/index.ts
@@ -62,7 +62,7 @@ export function cache(opts: CacheOptions) {
62
// If we don't do this TypeScript complains about wrong types
63
// Maybe there is a better way.
64
const _args = args as Record<string, unknown>;
65
- queryCacheArgs = (_args.cache as CacheConfig) ?? {};
+ queryCacheArgs = (_args.cache as CacheConfig) ?? undefined;
66
delete _args.cache;
67
}
68
0 commit comments