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

x/live/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/live@1.57.7/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>