Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Type

Base class of all type definitions.

Instances of this class are also used to represent the type void.

Hierarchy

Index

Properties

type

type: string = "void"

The type name identifier.

Methods

Abstract clone

equals

  • equals(type: Type): boolean
  • Test whether this type equals the given type.

    Parameters

    • type: Type

      The type that should be checked for equality.

    Returns boolean

    TRUE if the given type equals this type, FALSE otherwise.

toObject

  • toObject(): any
  • Return a raw object representation of this type.

    deprecated

    Use serializers instead

    Returns any

toString

  • toString(): string

Static isTypeListEqual

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

Static isTypeListSimiliar

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

Generated using TypeDoc