Module

x/ts_morph/mod.ts>Block#getParentOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method Block.prototype.getParentOrThrow
import { Block } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";

Parameters

optional
message: string | (() => string)

Returns

NonNullable<NodeParentType<ts.Block>>