ts-morph-structures

Home > ts-morph-structures > TypeAliasDeclarationImpl

TypeAliasDeclarationImpl class

Signature:

export default class TypeAliasDeclarationImpl implements TypeAliasDeclarationStructureClassIfc 

Implements: TypeAliasDeclarationStructureClassIfc

Constructors

Constructor Modifiers Description
(constructor)(name, type)   Constructs a new instance of the TypeAliasDeclarationImpl class

Properties

Property Modifiers Type Description
docs readonly (JSDocImpl | string)[]  
hasDeclareKeyword   boolean  
isDefaultExport   boolean  
isExported   boolean  
kind readonly StructureKind.TypeAlias  
leadingTrivia readonly stringOrWriterFunction[]  
name   string  
trailingTrivia readonly stringOrWriterFunction[]  
type?   stringOrWriterFunction (Optional)
typeParameters readonly (TypeParameterDeclarationImpl | string)[]  
typeStructure   TypeStructures | undefined  

Methods

Method Modifiers Description
clone(source) static  
toJSON()