Skip to main content
Module

x/deno2node/src/deps.deno.ts>ExternalModuleReference

Compile your Deno project to run on Node.js.
Go to Latest
class ExternalModuleReference
extends ExternalModuleReferenceBase<ts.ExternalModuleReference>
import { ExternalModuleReference } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Methods

getParent(): NodeParentType<ts.ExternalModuleReference>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ExternalModuleReference>>

Gets the source file referenced or returns undefined if it can't find it.

getReferencedSourceFileOrThrow(message?: string | (() => string)): SourceFile

Gets the source file referenced or throws if it can't find it.

isRelative(): boolean

Gets if the external module reference is relative.