import { type Types } from "https://deno.land/x/denocg@v0.0.8/client/mod.ts";
const { RequestHandler } = Types;
Type Parameters
TDef extends TypeDefinition
TKey extends RequestName<TDef>
definition: RequestParams<TDef, TKey> extends undefined ? () => RequestResult<TDef, TKey> | Promise<RequestResult<TDef, TKey>> : (params: RequestParams<TDef, TKey>) => RequestResult<TDef, TKey> | Promise<RequestResult<TDef, TKey>>