Skip to content

Commit 51d6619

Browse files
remove unnecessary partial
1 parent c5af439 commit 51d6619

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
@@ -45,13 +45,13 @@ type InternalGlobalThis<
4545
__NEXT_DATA__: Record<string, unknown>;
4646
};
4747

48-
type GetCloudflareContextOptions = Partial<{
48+
type GetCloudflareContextOptions = {
4949
/**
5050
* Make `getCloudflareContext` return a promise of the cloudflare context instead of the object itself. This allows the
5151
* function to be called in statically generated routes.
5252
*/
5353
async: boolean;
54-
}>;
54+
};
5555

5656
/**
5757
* Utility to get the current Cloudflare context

0 commit comments

Comments
 (0)