Module

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

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
type alias ManifestFunction
import { type ManifestFunction } from "https://dotland.deno.dev/x/live@1.63.12/utils/invoke.types.ts";

Type Parameters

TManifest extends AppManifest
TFunc extends string
definition: TFunc extends AvailableFunctions<TManifest> ? TManifest["functions"][TFunc] extends { default: infer TLoader; } ? TLoader extends (
req: any,
ctx: any,
props: infer Props,
) => PromiseOrValue<{ data: infer TReturn; }> ? { props: Props; return: TReturn; } : never : never : never