Ende.lint.FunctionExpression

interface ยท experimental

interface Ende.lint.FunctionExpression

Declare a function as an expression. Similar to FunctionDeclaration, with an optional name (=id).

Properties

type

type: "FunctionExpression"

range

range: Range

async

async: boolean

generator

generator: boolean

id

id: Identifier | null

typeParameters

typeParameters: TSTypeParameterDeclaration | undefined

params

params: Parameter[]

returnType

returnType: TSTypeAnnotation | undefined

body

body: BlockStatement

parent

parent: Node