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 ac9187c commit 04cf758Copy full SHA for 04cf758
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
-): (() => Promise<T>) | "dummy" {
+): (() => T | Promise<T>) | "dummy" {
87
if (!value) {
88
return "dummy";
89
}
90
91
if (typeof value === "function") {
92
- return async () => await value();
+ return () => value();
93
94
95
return async () => value;
0 commit comments