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

x/deno_graph/types.ts>ResolvedDependency

The module graph logic for Deno CLI
Go to Latest
interface ResolvedDependency
import { type ResolvedDependency } from "https://deno.land/x/deno_graph@0.63.3/types.ts";

Properties

optional
specifier: string

The fully resolved string URL of the dependency, which should be resolvable in the module graph. If there was an error, error will be set and this will be undefined.

optional
error: string

Any error encountered when trying to resolved the specifier. If this is defined, specifier will be undefined.

span: RangeJson

The range within the source code where the specifier was identified.