import { CatchClause } from "https://dotland.deno.dev/x/ts_morph@21.0.0/mod.ts";
Methods
getParent(): NodeParentType<ts.CatchClause>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.CatchClause>>
getVariableDeclaration(): VariableDeclaration | undefined
Gets this catch clause's variable declaration or undefined if none exists.
getVariableDeclarationOrThrow(message?: string | (() => string)): VariableDeclaration
Gets this catch clause's variable declaration or throws if none exists.