Skip to content

Commit

Permalink
feat: use official cf typing for waitUntil
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbjornHoltmon committed Jun 19, 2023
1 parent fe83c03 commit 148c73d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/cloudflare/src/server.directory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function createExports(manifest: SSRManifest) {
}: {
request: Request & CFRequest;
next: (request: Request) => void;
waitUntil: (promise: Promise<any>) => void;
waitUntil: EventContext<unknown, any, unknown>['waitUntil'];
} & Record<string, unknown>) => {
process.env = runtimeEnv.env as any;

Expand Down

0 comments on commit 148c73d

Please sign in to comment.