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

x/blocks/utils/invoke.types.ts>InvokeResult

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
type alias InvokeResult
import { type InvokeResult } from "https://deno.land/x/blocks@1.107.0/utils/invoke.types.ts";

Type Parameters

TPayload extends Invoke<TManifest, any, any> | InvokeAsPayload<TManifest, any, any> | Record<string, Invoke<TManifest, any, any> | InvokeAsPayload<TManifest, any, any>>
optional
TManifest extends AppManifest = AppManifest
definition: TPayload extends Invoke<TManifest, infer TFunc, any> | InvokeAsPayload<TManifest, infer TFunc, any> ? ReturnWith<ManifestInvocable<TManifest, TFunc>["return"], TPayload> : TPayload extends Record<string, any> ? [key in keyof TPayload]: TPayload[key] extends Invoke<TManifest, infer TFunc, any> | InvokeAsPayload<TManifest, infer TFunc, any> ? ReturnWith<ManifestInvocable<TManifest, TFunc>["return"], TPayload[key]> : unknown : unknown