🚧 Still under progress. Soon will be finished.

IndexSignature

INTERFACE code

Description

An index signature after being serialized

Properties

Name Type Description
kind MemberKind.IndexSignature

The type of member

indexType Type

The type of the index signature key

readOnly boolean

Whether it’s read-only or not

name string

Name of the property

line number

The start line number where the property is defined

type Type

The type of the property. If it’s an index signature, it will be the type of the object value.

default unknown

The default value

optional boolean

Whether it’s optional or not

decorators readonly Decorator[]

Any decorator that has been defined

jsDoc CommentPart[]

All the JSDoc comments