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

x/deno_graph/lib/types.d.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.32.0/lib/types.d.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"))