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

x/deno_graph/mod.ts>Dependency

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

Properties

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"))