Module

x/ts_morph/mod.ts>TypeAliasDeclaration

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

Methods

getParent(): NodeParentType<ts.TypeAliasDeclaration>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.TypeAliasDeclaration>>

Gets the structure equivalent to this node.

set(structure: Partial<TypeAliasDeclarationStructure>): this

Sets the node from a structure.