ts-morph-structures

Home > ts-morph-structures > StringTypeStructureImpl

StringTypeStructureImpl class

Strings, encased in double quotes. Leaf nodes.

Signature:

export default class StringTypeStructureImpl extends TypeStructuresBase<TypeStructureKind.String> 

Extends: TypeStructuresBase<TypeStructureKind.String>

Constructors

Constructor Modifiers Description
(constructor)(literal)   Constructs a new instance of the StringTypeStructureImpl class

Properties

Property Modifiers Type Description
kind readonly (not declared)  
stringValue readonly string  
writerFunction readonly WriterFunction  

Methods

Method Modifiers Description
clone(other) static  
get(name) static Gets a singleton StringTypeStructureImpl for the given name.