🚧 Still under progress. Soon will be finished.

IndexSignatureNode

CLASS code

Methods

  • getName

    code
    getName(): string

    Returns

    string:
  • getContext

    code
    getContext(): ProjectContext

    Returns

    ProjectContext:
  • getKind

    code
    getKind(): MemberKind

    Returns

    MemberKind:
  • getTSNode

    code
    getTSNode(): IndexSignatureDeclaration

    Returns

    IndexSignatureDeclaration:
  • getJSDoc

    code
    getJSDoc(): CommentNode

    Returns

    CommentNode:
  • getLine

    code
    getLine(): number

    Returns

    number:
  • getType

    code
    getType(): ReflectedTypeNode<TypeNode>

    Returns

    ReflectedTypeNode<TypeNode>:
  • getIndexType

    code
    getIndexType(): ReflectedNode<Type, Node> | null

    Returns

    ReflectedNode<Type, Node> | null:
  • isOptional

    code
    isOptional(): boolean

    Returns

    boolean:
  • serialize

    code

    Serializes the reflected node

    serialize(): IndexSignature

    Returns

    IndexSignature:

    The reflected node as a serializable object