Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/blocks/blocks/app.ts>AppMiddleware

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
type alias AppMiddleware
import { type AppMiddleware } from "https://deno.land/x/blocks@1.59.3/blocks/app.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>