🚧 Still under progress. Soon will be finished.

PropertyLike

INTERFACE code

Description

A property-like definition. Used by class/interface properties as well as for parameters.

Properties

Name Type Description
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