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

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

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

type

<T, TContext extends BaseContext = BaseContext>(
maybeResolvable: Resolvable<T, TContext> | Resolvable<T & { __resolveType: string; }, TContext>,
context: TContext,
opts: Opts,
hints?: HintNode<T> | null,
) => Promise<T>