Module

x/ts_morph/mod.ts>DefinitionInfo

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

Definition info.

Constructors

new
protected
DefinitionInfo()

Type Parameters

optional
TCompilerObject extends ts.DefinitionInfo = ts.DefinitionInfo

Methods

getContainerKind(): ts.ScriptElementKind

Gets the container kind.

Gets the container name.

getDeclarationNode(): Node | undefined

Gets the declaration node.

getKind(): ts.ScriptElementKind

Gets the kind.

getName(): string

Gets the name.