Home > ts-morph-structures > ConditionalTypeStructureImpl
checkType extends extendsType ? trueType : falseType
Signature:
export default class ConditionalTypeStructureImpl extends TypeStructuresBase<TypeStructureKind.Conditional>
Extends: TypeStructuresBase<TypeStructureKind.Conditional>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(conditionalParts) | Constructs a new instance of the ConditionalTypeStructureImpl class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| checkType | TypeStructures | ||
| extendsType | TypeStructures | ||
| falseType | TypeStructures | ||
| kind | readonly |
(not declared) | |
| trueType | TypeStructures | ||
| writerFunction | readonly |
WriterFunction |
| Method | Modifiers | Description |
|---|---|---|
| clone(other) | static |