Skip to main content
Module

x/deno_graph/types.ts>ResolvedDependency

The module graph logic for Deno CLI
Latest
interface ResolvedDependency
import { type ResolvedDependency } from "https://deno.land/x/deno_graph@0.69.6/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.