ts-morph-structures

Home > ts-morph-structures > ConditionalTypeStructureImpl

ConditionalTypeStructureImpl class

checkType extends extendsType ? trueType : falseType

Signature:

export default class ConditionalTypeStructureImpl extends TypeStructuresBase<TypeStructureKind.Conditional> 

Extends: TypeStructuresBase<TypeStructureKind.Conditional>

Constructors

Constructor Modifiers Description
(constructor)(conditionalParts)   Constructs a new instance of the ConditionalTypeStructureImpl class

Properties

Property Modifiers Type Description
checkType   TypeStructures  
extendsType   TypeStructures  
falseType   TypeStructures  
kind readonly (not declared)  
trueType   TypeStructures  
writerFunction readonly WriterFunction  

Methods

Method Modifiers Description
clone(other) static