🚧 Still under progress. Soon will be finished.

UnknownTypeNode

CLASS code

Description

Represents any type that we weren’t able to associate with any of the existing types. Also, the unknown keyword is reflected using this node.

Methods

  • getContext

    code
    getContext(): ProjectContext

    Returns

    ProjectContext:
  • getTSNode

    code
    getTSNode(): TypeNode | null

    Returns

    TypeNode | null:
  • getTSType

    code
    getTSType(): Type

    Returns

    Type:
  • getKind

    code
    getKind(): TypeKind

    Returns

    TypeKind:
  • getText

    code
    getText(): string

    Returns

    string:
  • serialize

    code

    Serializes the reflected type

    serialize(): Type

    Returns

    Type:

    The type as a serializable object