Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias OpenboxExtractEndpointTypeBag
import { type OpenboxExtractEndpointTypeBag } from "https://deno.land/x/openbox@1.2.10/endpoint.ts";

Type Parameters

E
M extends OpenboxRouteConfig["method"]
P extends OpenboxRouteConfig["path"]
definition: E extends OpenboxEndpoints<infer R> ? M extends keyof R ? (P extends keyof R[M] ? (R[M][P] extends OpenboxEndpointTypeBag ? R[M][P] : never) : never) : never : never