Skip to main content
Module

x/deco/mod.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://deno.land/x/deco@1.66.12/mod.ts";

Type Parameters

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

Type Parameters

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