Home > ts-morph-structures > TemplateLiteralTypeStructureImpl
one${"A" | "B"}two${"C" | "D"}three
Signature:
export default class TemplateLiteralTypeStructureImpl extends TypeStructuresBase<TypeStructureKind.TemplateLiteral>
Extends: TypeStructuresBase<TypeStructureKind.TemplateLiteral>
Constructor | Modifiers | Description |
---|---|---|
(constructor)(head, spans) | Constructs a new instance of the TemplateLiteralTypeStructureImpl class |
Property | Modifiers | Type | Description |
---|---|---|---|
head | string | ||
kind | readonly |
(not declared) | |
spans | [TypeStructures, string][] | ||
writerFunction | readonly |
WriterFunction |
Method | Modifiers | Description |
---|---|---|
clone(other) | static |