🚧 Still under progress. Soon will be finished.

Parameter

INTERFACE code

Description

A parameter after being serialized

Properties

Name Type Description
rest boolean

Whether it’s a rest parameter

named boolean
elements BindingElement[]

The elements of a named parameter

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