Skip to content

Commit 150bfd1

Browse files
committed
Support for asynchronous getLoadContext
1 parent 12ae2e1 commit 150bfd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/remix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type GetLoadContext = (args: {
88
// eslint-disable-next-line @typescript-eslint/no-explicit-any
99
cloudflare: any
1010
}
11-
}) => AppLoadContext
11+
}) => AppLoadContext | Promise<AppLoadContext>
1212

1313
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1414
export const defaultGetLoadContext = ({ context }: any) => {

0 commit comments

Comments
 (0)