Module

x/ts_morph/mod.ts>ReturnStatement

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
class ReturnStatement
extends ReturnStatementBase<ts.ReturnStatement>
import { ReturnStatement } from "https://dotland.deno.dev/x/ts_morph@17.0.0/mod.ts";

Methods

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