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

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

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