Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StringLiteralType

Represents a string literal type.

let value: "DIV";

Hierarchy

  • Type
    • StringLiteralType

Index

Constructors

constructor

Properties

type

type: string = "stringLiteral"

The type name identifier.

value

value: string

The string literal value.

Methods

clone

equals

toObject

  • toObject(): any

toString

  • toString(): string

Static isTypeListEqual

  • isTypeListEqual(a: Type[], b: Type[]): boolean

Static isTypeListSimiliar

  • isTypeListSimiliar(a: Type[], b: Type[]): boolean

Generated using TypeDoc