🚧 Still under progress. Soon will be finished.

OptionalTypeNode

CLASS code

Methods

  • getContext

    code
    getContext(): ProjectContext

    Returns

    ProjectContext:
  • getTSNode

    code
    getTSNode(): OptionalTypeNode

    Returns

    OptionalTypeNode:
  • getTSType

    code
    getTSType(): Type

    Returns

    Type:
  • getKind

    code
    getKind(): TypeKind

    Returns

    TypeKind:
  • getText

    code
    getText(): string

    Returns

    string:
  • getElementType

    code
    getElementType(): ReflectedTypeNode<TypeNode>

    Returns

    ReflectedTypeNode<TypeNode>:
  • serialize

    code

    Serializes the reflected type

    serialize(): Type

    Returns

    Type:

    The type as a serializable object