Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnknownType

Represents all unknown types.

Hierarchy

Index

Constructors

constructor

  • Create a new instance of UnknownType.

    Parameters

    • name: string

      A string representation of the type as returned from TypeScript compiler.

    Returns UnknownType

Properties

name

name: string

A string representation of the type as returned from TypeScript compiler.

type

type: string = "unknown"

The type name identifier.

Methods

clone

equals

  • Test whether this type equals the given type.

    Parameters

    • type: UnknownType

      The type that should be checked for equality.

    Returns boolean

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

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