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 c5af439 commit 51d6619Copy full SHA for 51d6619
packages/cloudflare/src/api/cloudflare-context.ts
@@ -45,13 +45,13 @@ type InternalGlobalThis<
45
__NEXT_DATA__: Record<string, unknown>;
46
};
47
48
-type GetCloudflareContextOptions = Partial<{
+type GetCloudflareContextOptions = {
49
/**
50
* Make `getCloudflareContext` return a promise of the cloudflare context instead of the object itself. This allows the
51
* function to be called in statically generated routes.
52
*/
53
async: boolean;
54
-}>;
+};
55
56
57
* Utility to get the current Cloudflare context
0 commit comments