🚧 Still under progress. Soon will be finished.

Method

INTERFACE code

Description

A class/interface method after being serialized

Properties

Name Type Description
kind MemberKind.Method

The type of member

name string

The name of the function

signatures readonly FunctionSignature[]

An array of function signatures

namespace string

The namespace where the function is defined

async boolean

Whether the function is async or not

generator boolean

Whether it’s a generator function or not

decorators readonly Decorator[]

Any function decorator

jsDoc CommentPart[]

Any JSDoc comment

static boolean

Whether the member is static or not

readOnly boolean

Whether the member is read only or not

optional boolean

Whether the member is optional or not

abstract boolean

Whether the member is abstract or not

override boolean

Whether this member overrides a parent member

inherited boolean

Whether the member is inherited or not