import { type ModuleChildableNode } from "https://dotland.deno.dev/x/ts_morph@17.0.0/mod.ts";
Methods
getParentModule(): ModuleDeclaration | undefined
Gets the parent module declaration or undefined if it doesn't exist.
getParentModuleOrThrow(message?: string | (() => string)): ModuleDeclaration
Gets the parent module declaration or throws if it doesn't exist.
import { ModuleChildableNode } from "https://dotland.deno.dev/x/ts_morph@17.0.0/mod.ts";
Type Parameters
T extends Constructor<ModuleChildableNodeExtensionType>
Parameters
Base: T