ts-morph-structures

Home > ts-morph-structures > ParenthesesTypeStructureImpl

ParenthesesTypeStructureImpl class

Wrap the child type in parentheses.

Signature:

export default class ParenthesesTypeStructureImpl extends TypeStructuresWithChildren<TypeStructureKind.Parentheses, [
    TypeStructures
]> 

Extends: TypeStructuresWithChildren<TypeStructureKind.Parentheses, [ TypeStructures ]>

Constructors

Constructor Modifiers Description
(constructor)(childType)   Constructs a new instance of the ParenthesesTypeStructureImpl class

Properties

Property Modifiers Type Description
childTypes readonly [TypeStructures]  
endToken <p>protected</p><p>readonly</p> (not declared)  
joinChildrenToken <p>protected</p><p>readonly</p> (not declared)  
kind readonly (not declared)  
maxChildCount <p>protected</p><p>readonly</p> (not declared)  
objectType <p>protected</p><p>readonly</p> null  
startToken <p>protected</p><p>readonly</p> (not declared)  

Methods

Method Modifiers Description
clone(other) static