Home > ts-morph-structures > ParenthesesTypeStructureImpl
Wrap the child type in parentheses.
Signature:
export default class ParenthesesTypeStructureImpl extends TypeStructuresWithChildren<TypeStructureKind.Parentheses, [
TypeStructures
]>
Extends: TypeStructuresWithChildren<TypeStructureKind.Parentheses, [ TypeStructures ]>
Constructor | Modifiers | Description |
---|---|---|
(constructor)(childType) | Constructs a new instance of the ParenthesesTypeStructureImpl class |
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) |
Method | Modifiers | Description |
---|---|---|
clone(other) | static |