Skip to main content
Module

x/ts_morph/mod.ts>ConstructorDeclaration#getParentOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method ConstructorDeclaration.prototype.getParentOrThrow
import { ConstructorDeclaration } from "https://deno.land/x/ts_morph@17.0.1/mod.ts";

Parameters

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

Returns

NonNullable<NodeParentType<ts.ConstructorDeclaration>>