Module

x/ts_morph/mod.ts>InterfaceDeclaration#getParentOrThrow

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

Parameters

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

Returns

NonNullable<NodeParentType<ts.InterfaceDeclaration>>