import { ImportEqualsDeclaration } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.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.
Gets the module reference of the import equals declaration.
getParent(): NodeParentType<ts.ImportEqualsDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ImportEqualsDeclaration>>
isExternalModuleReferenceRelative(): boolean
Gets if the external module reference is relative.
isTypeOnly(): boolean
Gets if this import equals declaration is type only.
setExternalModuleReference(externalModuleReference: string): this
Sets the external module reference.
setExternalModuleReference(sourceFile: SourceFile): this
Sets the external module reference.
setIsTypeOnly(value: boolean): this
Sets if this import equals declaration is type only.