Module

x/ts_morph/mod.ts>Node#getParentSyntaxListOrThrow

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

Gets the parent if it's a syntax list or throws an error otherwise.

Parameters

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