Module

x/live/types.ts>LoaderFunction

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Very Popular
Go to Latest
type alias LoaderFunction
import { type LoaderFunction } from "https://dotland.deno.dev/x/live@1.63.12/types.ts";

Type Parameters

optional
Props = any
optional
Data = any
optional
State = any
definition: (
req: Request,
props: Props,
) => PromiseOrValue<{ data: Data; } & Partial<Pick<Response, "status" | "headers">>>