Skip to main content
Module

x/deno_graph/types.ts>DependencyJson

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

Properties

specifier: string

The string specifier that was used for the dependency.

optional
code: ResolvedDependency

An object pointing to the resolved code dependency.

optional
type: ResolvedDependency

An object pointing to the resolved type dependency of a module. This is populated when the @deno-types directive was used to supply a type definition file for a dependency.

optional
isDynamic: true

A flag indicating if the dependency was dynamic. (e.g. await import("mod.ts"))

optional
assertionType: string