🚧 Still under progress. Soon will be finished.

FunctionDeclaration

INTERFACE code

Description

A function declaration after being serialized

Properties

Name Type Description
kind DeclarationKind.Function

The declaration kind

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