es-membrane

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)](/es-membrane/ts-morph-structures/api/ts-morph-structures.templateliteraltypestructureimpl._constructor_.html) Constructs a new instance of the `TemplateLiteralTypeStructureImpl` class

Properties

Property Modifiers Type Description
[head](/es-membrane/ts-morph-structures/api/ts-morph-structures.templateliteraltypestructureimpl.head.html) string
[kind](/es-membrane/ts-morph-structures/api/ts-morph-structures.templateliteraltypestructureimpl.kind.html) `readonly` (not declared)
[spans](/es-membrane/ts-morph-structures/api/ts-morph-structures.templateliteraltypestructureimpl.spans.html) \[[TypeStructures](/es-membrane/ts-morph-structures/api/ts-morph-structures.typestructures.html), string\]\[\]
[writerFunction](/es-membrane/ts-morph-structures/api/ts-morph-structures.templateliteraltypestructureimpl.writerfunction.html) `readonly` WriterFunction

Methods

Method Modifiers Description
[clone(other)](/es-membrane/ts-morph-structures/api/ts-morph-structures.templateliteraltypestructureimpl.clone.html) `static`