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.
1 parent 04cf758 commit 72b78f8Copy full SHA for 72b78f8
packages/cloudflare/src/api/config.ts
@@ -83,13 +83,13 @@ export function defineCloudflareConfig(options: CloudflareConfigOptions = {}): O
83
84
function resolveOverride<T extends IncrementalCache | TagCache | Queue>(
85
value: T | (() => T | Promise<T>) | undefined
86
-): (() => T | Promise<T>) | "dummy" {
+): (() => Promise<T>) | "dummy" {
87
if (!value) {
88
return "dummy";
89
}
90
91
if (typeof value === "function") {
92
- return () => value();
+ return async () => value();
93
94
95
return async () => value;
0 commit comments