import { ModuleDeclaration } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";
Methods
getDeclarationKindKeyword(): Node<ts.Node> | undefined
Gets the namespace or module keyword or returns undefined if it's global.
getParent(): NodeParentType<ts.ModuleDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ModuleDeclaration>>
rename(newName: string, options?: RenameOptions): this
Renames the module name.
Note: The TS compiler does not update module declarations for string literal module names unfortunately.