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