Skip to main content
Module

x/ts_morph/mod.ts>ArrowFunction

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class ArrowFunction
extends ArrowFunctionBase<ts.ArrowFunction>
import { ArrowFunction } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";

Methods

getEqualsGreaterThan(): Node<ts.Token<SyntaxKind.EqualsGreaterThanToken>>

Gets the equals greater than token of the arrow function.

getParent(): NodeParentType<ts.ArrowFunction>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ArrowFunction>>