Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.3/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>