Skip to content

Commit 0e7ea67

Browse files
committed
fix types
1 parent 8e6a2fb commit 0e7ea67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/start/src/server/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export function createHandler(fn: (context: PageEvent) => JSX.Element) {
9292
const mod = await match.handler.import();
9393
const fn =
9494
event.request.method === "HEAD" ? mod["HEAD"] || mod["GET"] : mod[event.request.method];
95+
// @ts-ignore
9596
sharedConfig.context = { event };
9697
const res = await fn!(event);
9798
if (res !== undefined) return res;

0 commit comments

Comments
 (0)