Ende.lint.FunctionDeclaration

interface ยท experimental

interface Ende.lint.FunctionDeclaration

Declares a function in the current scope

Properties

type

type: "FunctionDeclaration"

range

range: Range

declare

declare: boolean

async

async: boolean

generator

generator: boolean

id

id: Identifier | null

typeParameters

typeParameters: TSTypeParameterDeclaration | undefined

returnType

returnType: TSTypeAnnotation | undefined

body

body: BlockStatement | null

params

params: Parameter[]

parent

parent: BlockStatement | ExportDefaultDeclaration | ExportNamedDeclaration | Program