ts-morph-structures

Home > ts-morph-structures > TypeParameterDeclarationImpl

TypeParameterDeclarationImpl class

Signature:

export default class TypeParameterDeclarationImpl implements TypeParameterDeclarationStructureClassIfc 

Implements: TypeParameterDeclarationStructureClassIfc

Constructors

Constructor Modifiers Description
(constructor)(name)   Constructs a new instance of the TypeParameterDeclarationImpl class

Properties

Property Modifiers Type Description
constraint   stringOrWriterFunction | undefined  
constraintStructure   TypeStructures | undefined  
default   stringOrWriterFunction | undefined  
defaultStructure   TypeStructures | undefined  
isConst   boolean  
kind readonly StructureKind.TypeParameter  
leadingTrivia readonly stringOrWriterFunction[]  
name   string  
trailingTrivia readonly stringOrWriterFunction[]  
variance?   TypeParameterVariance (Optional)

Methods

Method Modifiers Description
clone(source) static  
toJSON()