Skip to main content
Module

x/ts_morph/ts_morph.d.ts>ModuleChildableNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
interface ModuleChildableNode
import { type ModuleChildableNode } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.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.

function ModuleChildableNode
import { ModuleChildableNode } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<ModuleChildableNodeExtensionType>

Returns

Constructor<ModuleChildableNode> & T