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

x/deno_graph/types.ts>DependencyJson

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