Module

x/ts_morph/ts_morph.d.ts>NamespaceExport

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class NamespaceExport
extends NamespaceExportBase<ts.NamespaceExport>
import { NamespaceExport } from "https://dotland.deno.dev/x/ts_morph@21.0.0/ts_morph.d.ts";

Methods

getName(): string

Gets the name of the namespace export.

Gets the namespace export's name node.

getParent(): NodeParentType<ts.NamespaceExport>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.NamespaceExport>>
setName(name: string): this

Sets the name of the namespace export.