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

x/deco/engine/core/resolver.ts>resolve

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable resolve
import { resolve } from "https://deno.land/x/deco@1.59.1/engine/core/resolver.ts";

Receives a string (pointing to a resolvable or a resolver), a context and optionally dangling and propsAreResolved flag, and returns the resolved object. See readme for more details

type

<T, TContext extends BaseContext = BaseContext>(
maybeResolvable: string | Resolvable<T, TContext>,
context: TContext,
resolveOptions?: Opts,
) => Promise<T>