type alias LoaderFunctionimport { type LoaderFunction } from "https://deno.land/x/live@0.10.0/mod.ts"; Type ParametersoptionalProps = anyoptionalData = anyoptionalState = anydefinition: (req: Request,ctx: HandlerContext<any, State>,props: Props,) => Promise<{ data: Data; } & Partial<Pick<Response, "status" | "headers">>>