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

x/blocks/clients/withManifest.ts>invoke

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable invoke
import { invoke } from "https://deno.land/x/blocks@0.36.7/clients/withManifest.ts";

Receives the function id as a parameter (e.g #FUNC_ID, the # will be ignored) or the function name as a parameter (e.g deco-sites/std/functions/vtexProductList.ts) and invoke the target function passing the provided props as the partial input for the function.

type

<TManifest extends AppManifest>(fetcher?: fetch) => unknown