ts-morph-structures

Home > ts-morph-structures > TemplateLiteralTypeStructureImpl

TemplateLiteralTypeStructureImpl class

one${"A" | "B"}two${"C" | "D"}three

Signature:

export default class TemplateLiteralTypeStructureImpl extends TypeStructuresBase<TypeStructureKind.TemplateLiteral> 

Extends: TypeStructuresBase<TypeStructureKind.TemplateLiteral>

Constructors

Constructor Modifiers Description
(constructor)(head, spans)   Constructs a new instance of the TemplateLiteralTypeStructureImpl class

Properties

Property Modifiers Type Description
head   string  
kind readonly (not declared)  
spans   [TypeStructures, string][]  
writerFunction readonly WriterFunction  

Methods

Method Modifiers Description
clone(other) static