Skip to content

Commit 477e2a1

Browse files
Apply suggestions from code review
Co-authored-by: Victor Berchet <[email protected]>
1 parent 9a3db1c commit 477e2a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cloudflare/src/api/cloudflare-context.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ type InternalGlobalThis<
4747

4848
type GetCloudflareContextOptions = {
4949
/**
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.
50+
* When `true`, `getCloudflareContext` returns a promise of the cloudflare context instead of the context,
51+
* this is needed to access the context from statically generated routes.
5252
*/
5353
async: boolean;
5454
};

0 commit comments

Comments
 (0)