Skip to main content
Module

x/live/mod.ts>AppMiddleware

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

Type Parameters

optional
TApp extends App = any
optional
TProps = any
optional
TResponse = any
definition: (
props: TProps,
req: Request,
ctx: AppMiddlewareContext<TApp, TResponse>,
) => Promise<TResponse>