import { ImportEqualsDeclaration } from "https://dotland.deno.dev/x/ts_morph@18.0.0/ts_morph.d.ts";
Methods
getExternalModuleReferenceSourceFile(): SourceFile | undefined
Gets the source file referenced in the external module reference or returns undefined if it doesn't exist.
getExternalModuleReferenceSourceFileOrThrow(message?: string | (() => string)): SourceFile
Gets the source file referenced in the external module reference or throws if it doesn't exist.
getParent(): NodeParentType<ts.ImportEqualsDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ImportEqualsDeclaration>>
setExternalModuleReference(externalModuleReference: string): this
Sets the external module reference.