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

x/netzo/apis/create-api/types.ts>ApiMethodHandler

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
type alias ApiMethodHandler
import { type ApiMethodHandler } from "https://deno.land/x/netzo@0.5.70/apis/create-api/types.ts";

Type Parameters

optional
Data = never
optional
Query = QueryObject
definition: <T = any, R extends ResponseType = "json">(
data?: Data,
query?: Query,
options?: Omit<FetchOptions<R>, "baseURL" | "method">,
) => Promise<MappedType<R, T>>