ts-morph-structures

Home > ts-morph-structures > JsxSelfClosingElementImpl

JsxSelfClosingElementImpl class

Signature:

export default class JsxSelfClosingElementImpl implements JsxSelfClosingElementStructureClassIfc 

Implements: JsxSelfClosingElementStructureClassIfc

Constructors

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

Properties

Property Modifiers Type Description
attributes readonly (JsxAttributeImpl | JsxSpreadAttributeImpl)[]  
kind readonly StructureKind.JsxSelfClosingElement  
leadingTrivia readonly stringOrWriterFunction[]  
name   string  
trailingTrivia readonly stringOrWriterFunction[]  

Methods

Method Modifiers Description
clone(source) static  
toJSON()